Programming Pandit

c/c++/c#/Javav/Python


Latest Update

Friday, September 11, 2020

Python programming to print the type of data by G Krishna Chauhan

 Source Code


>>> a=9

>>> b=2.7

>>> c="Programming Pandit"

>>> type(a)

<class 'int'>

>>> type(b)

<class 'float'>

>>> type(c)

<class 'str'>





 

2 comments: