DS160123 Give answer of the following

Date:-9/03/2023
var = 1
print(type(var))
[a] int [b] tuple [c] string [d] syntax error

3 Likes

The correct answer is option A @sms18680

1 Like

@sms18680
Type function will return data type in python and as var (variable) is assigned with 1. So answer will be a) i.e of integer type.
Keep practicing :heart:

2 Likes

correct answer is
[a] int

3 Likes