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