21. What is the result of 5 / 2 ?
22. Which of the following results in a SyntaxError?
23. What is the imaginary part of the complex number 3 + 4j ?
24. What is the average value of the following Python code snippet?
>>>grade1 = 80
>>>grade2 = 90
>>>average = (grade1 + grade2) / 2
>>>grade1 = 80
>>>grade2 = 90
>>>average = (grade1 + grade2) / 2
25. What is the result of int(3.999) ?
26. What does ~4 evaluate to?
27. What is the output of print 0.1 + 0.2 == 0.3?
28. The following is displayed by a print function call. Select all of the function calls that result in this output.
tom
dick
harry
tom
dick
harry