Q. What will be the datatype of the var in the below code snippet?
Code:
var = 10 print(type(var)) var = "Hello" print(type(var))
β
Correct Answer: (D)
int and str
var = 10 print(type(var)) var = "Hello" print(type(var))
You must be Logged in to update hint/solution