Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
What is the output of the following code?
num = 2.5 print(type(num))
2.5
'2.5'
float
str
Integer
Float
String
Boolean
9
Error
None of the above
3.3333
3
1
0.3333
List
Dictionary
Tuple
Set
x = 5
5 = x
x + 5
5 + x
What is the data type of the variable 'is_true' in the following code?is_true = True
What is the data type of the variable 'age' in the following code?age = 25
0
What is the data type of the variable 'name' in the following code?name = "John Doe"