def foo(x = 10, y = 15):
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
return(x + y, x - y)
x, y = foo(y = 20, x = 15) print(x, y) #What is the output of the following code?
Anonymous Quiz
33%
Error - arguments order
49%
35 -5
13%
35 30
5%
30 30
y, z = 10, 15;
b = c = 0;
b = y - y + z; y -= (y + z); #What is the value of b & y respectively? Please Explain?
b = c = 0;
b = y - y + z; y -= (y + z); #What is the value of b & y respectively? Please Explain?
Anonymous Quiz
19%
15, 15
46%
15, -15
10%
-15, 15
14%
Error
10%
Show me the answer
'{} was created by {1} and first released in {2}'.format('Python','Guido van Rossum','1991')
#What is the output of the code shown above?
#What is the output of the code shown above?
Anonymous Quiz
62%
Python was created by Guido van Rossum and first released in 1991
15%
Guido van Rossum was created by 1991 and first released in Python
8%
{} was created by {1} and first released in {2}
9%
Error
6%
Show me the answer
print("abbcabcacabb".count('abb', 2, 11))
#What is the output of the above statement? Explain this statement?
#What is the output of the above statement? Explain this statement?
Anonymous Quiz
27%
2
23%
1
14%
0
21%
Error
14%
Show me the answer