摘要: def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ') return words def sort_words(words): """Sorts the word 阅读全文
posted @ 2020-04-03 18:33 你走我不走 阅读(170) 评论(0) 推荐(0) 编辑
摘要: print("Let's practice everything.")print("You\'d need to know \'bout escapes with \\ that do:")print('\n newlines and \t tabs.') poem = """\tdasohcsch 阅读全文
posted @ 2020-04-03 11:25 你走我不走 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-04-02 18:53 你走我不走 阅读(135) 评论(0) 推荐(0) 编辑
摘要: def add(a,b): print(f"ADDING {a}+{b}") return a+b def subtract(a,b): print(f"SUBTRACTING {a}-{b}") return a-b def multiply(a,b): print(f"MULTIPLY {a}* 阅读全文
posted @ 2020-04-01 16:00 你走我不走 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-31 11:59 你走我不走 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-30 14:23 你走我不走 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-21 14:49 你走我不走 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Unicode解码错误:‘gbk’编解码器无法解码位置0中的字节0xff:非法多字节序列 阅读全文
posted @ 2020-03-21 10:33 你走我不走 阅读(2119) 评论(0) 推荐(1) 编辑
摘要: from sys import argvscript, filename = argvprint(f"We're going to erase {filename}.")print("If you don't want that, hit CTRL-C (^C)")print("If you do 阅读全文
posted @ 2020-03-19 14:45 你走我不走 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-18 17:37 你走我不走 阅读(502) 评论(0) 推荐(0) 编辑