πŸ“Š Python
Q. What will be the output of the following Python code?
Code:
def function1(var1=5, var2=7):
    var2=9
    var1=3
    print (var1, " ", var2)
function1(10,12)
  • (A) 5 7
  • (B) 3 9
  • (C) 10 12
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 3 9

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
203
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
93%
Success Rate