Python Learning - On

发布时间:2019-03-14 23:50:17编辑:auto阅读(2170)

    ## 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

      

关键字