![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
自学
sinat_42810825
这个作者很懒,什么都没留下…
展开
-
Python for Everybody(PY4E) Chapter7
小白自学,仅作为个人记录。Exercise 1: Write a program to read through a fifile and print the contents of the fifile (line by line) all in upper case. Executing the program will look as follows:fname = input('Enter the file name: ')try: fhand = open(fname原创 2022-03-24 01:34:12 · 1292 阅读 · 1 评论 -
Python for Everybody(PY4E) Chapter6 Strings
小白自学Python,仅做个人消息记录。Exercise 1: Write a while loop that starts at the last character in thestring and works its way backwards to the first character in the string,printing each letter on a separate line, except backwards.from operator import indexy原创 2022-03-23 00:36:51 · 855 阅读 · 0 评论 -
PY4E chapter5 Iterations-Exercise 1
Python自学原创 2022-03-22 01:21:11 · 823 阅读 · 0 评论