Start with python and start with python
1. tranceback is a record
2. print (name. title () uppercase letters
Print (name. upper () Capital
Print (name. lower () lower case
Print ("Hello," + full_name.title () + "! ") Splicing
Print ("language: \ n \ tPython \ n \ tC \ n \ tJavaScripht") line breaks, tabs
Favorite_language.rstrip () removes white space
3. Technically, print in Python 3 is a function, so brackets are indispensable.
4. python calls a number with a decimal point as a floating point number.
5. message = "Happy" + str (age) + "rd Birthday! "Str () function to avoid type errors
6. When calculating the integer result, the method is not rounding, but directly deleting the fractional part. To avoid this situation, make sure that at least one operand is a floating point number.
7. the Programming Language perl once dominated the Internet field for a long time. Most early interactive websites used Perl scripts. This flexibility was acceptable during project development, however, we finally realized that too much emphasis on flexibility will make it difficult to maintain large projects.
8. Do not try to write perfect code. Write effective code first.