Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
What is the data type of the variable 'is_true' in the following code?is_true = True
Integer
String
Boolean
Float
What is the data type of the variable 'name' in the following code?name = "John Doe"
List
Dictionary
Tuple
Set
my_variable
myVariable
1variable
_variable
1
2
3
4
3.3333
0.3333
HelloWorld
Hello World
Hello+"World"
None of the above
Complex
Byte
Long
Double
What is the output of the following code?
num = 2.5 print(type(num))
2.5
'2.5'
float
str