Add print demo
This commit is contained in:
parent
e87d239e33
commit
f3ce5a64ba
12
0001/print.py
Normal file
12
0001/print.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 输出字符串
|
||||||
|
print("Hello World")
|
||||||
|
|
||||||
|
# 输出数字
|
||||||
|
print(2025) # 输出:2025
|
||||||
|
|
||||||
|
# 输出计算结果
|
||||||
|
print(5 + 3) # 输出:8
|
||||||
|
|
||||||
|
# 输出多行内容
|
||||||
|
print("第一行")
|
||||||
|
print("第二行")
|
||||||
Loading…
x
Reference in New Issue
Block a user