Python Learning - One

## Create a directory each day, and can create files in the directory.

 

1. variable

2. comments

1) #

2) ''''''"   """"

3. input

4. string formatting expressions

1) '....%s...'%(values)

2) '...{}...'  .format(values)

3)  int( )  convert to integer

4) str( ) convert to string

 

5. conditionals and logical operators

1) if....else

2) if .... elif...else

3) while loop

4) for loop

5) break and continue

  

posted @ 2018-09-30 17:58  A&F-TECH-HK  阅读(123)  评论(0)    收藏  举报