Report Bug

Qus

What will be the datatype of the var in the below code snippet?

var = 10
print(type(var))
var = "Hello"
print(type(var))
Qus

नीचे दिए गए कोड स्निपेट में var का डेटाटाइप क्या होगा?

var = 10
print(type(var))
var = "Hello"
print(type(var))


A. Str and int
B. int and int
C. str and str
D. int and str


Solution
D. int and str



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad