NEW
Font size
WorksheetsDATATYPES-PYTHON
Total questions: 10
Worksheet time: 5mins
Which one of these is a floating point number?
3.2
4
500
270000
Which of these will output the result 36?
30+*6
6<6
6**6
6*6
what is the output of 1/2 ?
1
0
0.5
Which of the following is correct for dictionaries in Python?
value ; key
[1,2.2]
key : value
{key : value}
Fill in the blank:
Python uses ______________ that makes you able to reassign the values, but not in other programming languages.
Statical Typing
Dynamic Typing
Fill in the blank
-Anything enclosed in a single quote or double quote is a _____________
List
Tuple
String
which of the following bracket is used to enclose dictionary.
[ ]
( )
{ }
<>
why list and tuples are not same?
it's because list is not a datatype
it's because tuples are not a datatype
it's because list is enclosed with [ ] and tuples are enclosed with ( )
both b and c
what will be the boolean for
24-2 == 2-24
False
True
Which of the following is not a Datatype?
List
variable
Tuple
booleans
