demo_type_str.py:
x = "Hello World" #display x: print(x) #display the data type of x: print(type(x))
C:\Users\My Name>python demo_type_str.py
Hello World
<class 'str'>