代码示例:(标识:python_type_str)
python_type_str.py
x = "Hello World"

#display x:
print(x)

#display the data type of x:
print(type(x))
运行结果: