Day 1
程序员文章站
2022-06-19 13:05:36
1. variable 2. comments 1) # 2) '''''' """""" 3. input 4. string formatting expressions 1) '....%s...'%(values) 2) '...{}...' .format(values) 3) int( ......
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