NEW
Font size
Worksheetsinformatica
Total questions: 10
Worksheet time: 5mins
Python is a:
Set of editing tools
Programming language
Development environment
all answers are correct
Which of these statements is true?
Python 1.7 is the most widely used version
all answers are correct
Python code must be always compiled
CPython is an implementation of Python
Fill in the blanks to print "Hi".
>>> print ("Hi")
>>> cout ("Hi")
cout<< (Hi);
Fill in the blank to output "ni ni ni".
>>> print ('ni ni ni'
>>> print "ni ni ni"
>>> print ('ni ni ni')
>>> print ('ni ni ni'):
What does this code output?
>>> 1 + 2 + 3
5
4
7
6
Which option is output by this code?
>>> (4 + 8) / 2
6.0
8
6
8.0
Fill in the blank to make this code correct.
>>> ( _5 - 1) * 3
-18
-
+
:
;
Drag and drop the answer that will cause a ZeroDivisionError.
>>> (17 + 94) / (-5 +______ )
-5
0
5
2
Which of these will not be stored as a float?
2.0
2/4
7
7.0
Fill in the blank with the output of this code.
>>> 1 + 2 + 3 + 4.0 + 5
15,5
15.0
14.9
15.1
