A

Akash Lawaniya • 9.58K Points
Tutor III

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))
  • (A) str and int
  • (B) int and int
  • (C) str and str
  • (D) int and str
  • Correct Answer - Option(D)
  • Views: 1348
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics