Python: built-in functions

Python: built-in functions

print(): built-in function that displays input value as text in the output

>>> print(3+5)
8

type(): built-in function that returns the type of an object

>>> print(type(3.3))
<class 'float'>

猜你喜欢

转载自blog.csdn.net/guo_ya_nan/article/details/80257017