Skip to content

NeuroYoung/LPTHW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py103

Learn python the hard way

ex04

  • this task didn't use % to insert the variable value into a string, but a , to insert the different values in print function

ex05

  • the first task to introduce %, the formatter character, the commonly used formatters including %r %s %d, the difference between %r %s is in ex09
  • ex07 introduced some high-level use of formatters

ex10

  • escape sequence introduction, some I don't know how to work
  • ex10extra a cool visual effect, but I don't know how it works right now

ex11

  • first task to introduce raw_input

ex13

  • first task to import argv from sys
  • notice the input style when using the argv
  • notice the combination of raw_input with argv

ex16

  • read a file, file.read()
  • open a file and assign to a variable
  • when use w mode, there is no need to truncate the file after

ex17

  • copying data from one file to another

ex20

  • define a function, *args in the ex18
  • read certain line in a file
  • set the position in the file
  • position changes while the reading goes

ex35

the 1st little game with loops and if/else loop could use in string, list, dict and so on find out a good way to judge whether the input is a number at all

About

Learn python the hard way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages