笨方法学Python3 习题 1

it2025-10-09  12

花了很长时间研究Atom怎么用

习题 1 1.在Atom输入 print(“Hello!”) print(“Hello Again”) print(“I like typing this.”) print(“This is fun.”) print(‘Yay! printing.’) print(“I’d much rather you ‘not’.”) print(‘I “said” do not touch this.’) 存到容易找到的地方,因为powershell运行需要在当前目录中运行

运行结果 巩固练习

① 翻译有点让人费解,姑且认为是多打出个print,不做尝试了 ② 更让人疑惑。。不知道什么叫只打印其中一行 查阅的也没找到,只查到打印在同一行,是在末尾加“,”尝试了一下 ③ 在起始位置放上“#”后内容变灰,猜测应该是注释符,运行之后发现正确

最新回复(0)