// general

General Quiz

// question 1 of 10
What is printed? x=5 ; def f(): x=2 ; print(x) ; f()?
// question 2 of 10
What is the result of 5 + float(""2"")?
// question 3 of 10
What does % do?
// question 4 of 10
What is method chaining?
// question 5 of 10
What does continue do in a while loop?
// question 6 of 10
What is the difference between __str__ and __repr__?
// question 7 of 10
What is the result of 5 >= 3?
// question 8 of 10
What does a single underscore prefix on an attribute mean?
// question 9 of 10
What is the result of ""python""[1]?
// question 10 of 10
What is printed? for i in range(2): print(i) print(""Done"")?