Question: What will the following program display? def main (): X = 1 y = = 3.4 print (x, y) change_us (x, y) print (x, y)

What will the following program display?def main (): X = 1 y = = 3.4 print (x, y) change_us (x, y) print (x, y) def change_us (a, b): a = 0 b = 0

def main (): X = 1 y = = 3.4 print (x, y) change_us (x, y) print (x, y) def change_us (a, b): a = 0 b = 0 print (a, b) main()

Step by Step Solution

3.26 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

There are a few issues in the provided code that need to be corrected for it to run properly H... View full answer

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 Starting Out With Python Questions!