id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

burns@bxscience.edu > romanNum
prev  |  next  |  chance

This function is to accept a an integer value from one to ten and return the corresponding Roman numeral. If the user enters anything other than the expected input the function should return "error"


romanNum(1) → 'I'
romanNum(2) → 'II'
romanNum(3) → 'III'

...Save, Compile, Run (ctrl-enter)

def romanNum(num):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 100

Copyright Nick Parlante 2017 - privacy