DEV Community

Kuhanraja A R
Kuhanraja A R

Posted on

python session day 4 at payilagam none data type and input()function in python

none data type:
when type function is given it displays the value of the data type.if there is nothing represented it means none data type.

name = input("Enter your name: ")
print("Welcome to Python", name)
print(type(name))
Enter fullscreen mode Exit fullscreen mode

Enter your name: RAJA
Welcome to Python RAJA

Top comments (0)