πŸ“Š Python
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) int and str

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1615
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Akash Lawaniya
Publisher
πŸ“ˆ
92%
Success Rate