Home / Expert Answers / Computer Science / how-would-this-problem-be-completed-in-phyton-code-number-to-words-pa574

(Solved): How would this problem be completed in phyton code? Number to Words ...



Number to Words \& Roman
Specification:
Read in numbers between 0-999 until the user enters -1. Print out the number in words

How would this problem be completed in phyton code????????

Number to Words \& Roman Specification: Read in numbers between 0-999 until the user enters -1. Print out the number in words along with the equivalent roman numeral. When -1 is entered, print "Done". Use Australian English grammar. Note the spelling of "four", "fourteen" and "forty". Check the instruction for Roman translation here. Sample I/0: Enter a number between , or -1 to exit: 17 In Words: seventeen In Roman: XVII Enter a number between , or -1 to exit: 103 In Words: one hundred and three In Roman: CIII Enter a number between , or -1 to exit: 800 In Words: eight hundred In Roman: DCCC Enter a number between 0-999, or -1 to exit: 42 In Words: forty two In Roman: XLII Enter a number between , or -1 to exit: -1 Done Note: Strict grammar tells us to hyphenate compound numbers. ED expects you to


We have an Answer from Expert

View Expert Answer

Expert Answer


Python code
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe