Question: Python 3.6- Please correct syntax of this code. And please provide block comments explaining the code step by step. Thanks def romanNum (r) return 1

Python 3.6- Please correct syntax of this code. And please provide block comments explaining the code step by step. Thanks

Python 3.6- Please correct syntax of this code. And please provide block

def romanNum (r) return 1 return 5 return 10 return 50 return 100 return 500 return 1000 if (rV if (r 'X' ) : if (r == 'L' ): 10 if (r =- 'D'): 12 13 14 15 16 17 18 19 20 21 if (r == 'M' ); def convertRtoD(roman) decimal 23 2 4 25 26 27 28 29 30 31 32 while(i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!