What will be the output of the following code : x = 10
y = 20
def calculate():
x=5
x = x*y
print(x)
calculate()
100
200
50
Error
Share
What will be the output of the following code : x = 10
y = 20
def calculate():
x=5
x = x*y
print(x)
calculate()
100
200
50
Error
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies