Question: Language is python. Verify that you have made your functions more robust to erroneous input/data. Find the bugs of the given code block. Then, try

Language is python.
Verify that you have made your functions more robust to erroneous input/data. Find the bugs of the given code block. Then, try to update cal(). def cal(): for i in range( 2 ): x = int( input( "enter first number:" )) y = int( input( "enter second number: ")) print( x, '%', y, '=', x%y )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
