摘要: 8.4 Open the file romeo.txt and read it line by line. For each line, split the line into a list of words using the split() method. The program should 阅读全文
posted @ 2018-03-23 13:24 solitude_26 阅读(123) 评论(0) 推荐(0)
摘要: 发现自己在尝试循环和try结合时出现了死循环,好可怕。 例子:将用户输入的数值进行统计 阅读全文
posted @ 2018-03-23 10:43 solitude_26 阅读(79) 评论(0) 推荐(0)
摘要: 警告:别老是缩进没缩好,语句放不好,逻辑有待加强 ex:提示用户一直输入 阅读全文
posted @ 2018-03-23 10:33 solitude_26 阅读(105) 评论(0) 推荐(0)