Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
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
What is the data type of the variable 'is_true' in the following code?is_true = True
Integer
String
Boolean
Float
Complex
Byte
Long
Double
1
2
3
4
What is the data type of the variable 'age' in the following code?age = 25
What is the data type of the variable 'name' in the following code?name = "John Doe"
Which of the following is a valid data type in Python?
Real
All of the above
List
Dictionary
Tuple
Set