240 发简信
IP属地:上海
  • exercise 0~exercise 5

    exercise 0 这一节练习主要讲了怎么安装python3和选择文件编辑器 exercise 1 这一节主要是体验一下python,教你怎么在命令行使用python ex...

  • exercise 21

    练习 如果你不是很确定return的功能,尝试自己写几个函数出来,让它们返回一些值。你可以将任何可以放在=右边的东西作为一个函数的返回值。 这个脚本的结尾是一个迷题。我将一个...

  • exercise 20

    第一次print_a_line被调用, current_line被赋值1第二次print_a_line被调用, current_line被赋值2第三次print_a_line...

  • exercise 19

    练习 倒着将脚本读完,在每一行上面添加一行注解,说明这行的作用。 从最后一行开始,倒着阅读每一行,读出所有的重要字符来。 自己编至少一个函数出来,然后用10种方法运行这个函数...

  • exercise 18

    练习为自己写一个函数注意事项以供后续参考。你可以写在一个索引卡片上随时阅读,直到你记住所有的要点为止。注意事项如下: 函数定义是以 def 开始的吗? 函数名称是以字符和下划...

  • exercise 17

    练习 4.不关闭文件,它会直到程序结束为止一直占用系统资源点我有惊喜 资料1资料2 exercise15~17小结:建立文件打开文件读取文件写入文件关闭文件点击

  • exercise 16

    练习 If you do not understand this, go back through and use the comment trick to get it s...

  • exercise 15

    练习 Above each line, write out in English what that line does. If you are not sure, ask ...

  • exercise 14

    练习 Find out what the games Zork and Adventure were. Try to find a copy and play it. Cha...

  • exercise 13

    注意: 一定要用命令行,通过$ python ex13.py first 2nd 3rd命令运行程序 练习 Try giving fewer than three argum...

  • exercise 12

    练习 In Terminal, where you normally run python3.6 to run your scripts, type pydoc input ...

  • exercise 11

    练习 Go online and find out what Python’s input does. Can you find other ways to use it? ...

  • exercise 10

    练习 Memorize all the escape sequences by putting them on flash cards. Use ''' (triple-si...

  • exercise 9

    练习 Check your work, write down your mistakes, try not to make them on the next exercise...

  • exercise 8

    练习 Do your checks, write down your mistakes, and try not to make the same mistakes on t...

  • exercise 7

    Go back through and write a comment on what each line does. Read each one backward or o...

  • exercise 6

    练习 完成这个程序并在每一行写上注释。 找出字符串镶嵌在另一个字符串的所有地方。这里有四个地方。 你确定这只有四个地方?你怎么知道的?或许我在撒谎呢? 解释为什么通过”+“可...