// Functions

Functions Quiz

// question 1 of 10
What does a function return without return?
// question 2 of 10
What is a global variable?
// question 3 of 10
What is printed? def f(): return 5 ; print(f())?
// question 4 of 10
What is printed? def f(x): return x%2==0 ; print(f(5))?
// question 5 of 10
What does try do?
// question 6 of 10
What is printed? def f(x): return float(x) ; print(f(""2.5""))?
// question 7 of 10
What is printed? def f(x=5): return x ; print(f(2))?
// question 8 of 10
What is printed? x=5 ; def f(): print(x) ; f()?
// question 9 of 10
What is printed? def f(a=1,b=2): return a+b ; print(f(5,5))?
// question 10 of 10
What is printed? def f(a,b): return a+b ; print(f(2,3))?