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