python print行分隔符和终止符
- 2019 年 10 月 10 日
- 筆記
seq end
print('ACME', 50, 91.5) ACME 50 91.5 print('ACME', 50, 91.5, sep=',') ACME,50,91.5 print('ACME', 50, 91.5, sep=',', end='!!n') ACME,50,91.5!!
print('ACME', 50, 91.5) ACME 50 91.5 print('ACME', 50, 91.5, sep=',') ACME,50,91.5 print('ACME', 50, 91.5, sep=',', end='!!n') ACME,50,91.5!!