Back to Browse

#Type ( ) function || Int , Float, String || #Python || Dhirendra Chauhan

313 views
Jan 24, 2021
10:55

type() The type() function returns the type of the specified object. a = ('apple', 'banana', 'cherry') b = "Hello World" c = 33 x = type(a) y = type(b) z = type(c) print(x) print(y) print(z) Output ------------ 'tuple' 'str' 'int'

Download

1 formats

Video Formats

360pmp432.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

#Type ( ) function || Int , Float, String || #Python || Dhirendra Chauhan | NatokHD