立即學習:https://edu.csdn.net/course/play/26755/340118?utm_source=blogtoedu
# 1.使用,分割
# a,b,c
print("a", "b", "c", sep=',')
# 2.讓print不換行
# a#
print("a", end='#')
# 3.print格式化輸出
n = 10
print('John is %d years old' % n)
立即學習:https://edu.csdn.net/course/play/26755/340118?utm_source=blogtoedu
# 1.使用,分割
# a,b,c
print("a", "b", "c", sep=',')
# 2.讓print不換行
# a#
print("a", end='#')
# 3.print格式化輸出
n = 10
print('John is %d years old' % n)
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c