The user input functions and input code comments

A reading user input

py3 in input () reads the user inputs, outputs all default str string data type, which is typically assigned variables, user input before continuing to go down procedure. (Py2 of different essay listed separately)

Second, comments

Role Notes: The large amount of code when you look again and help others to understand.

Notes specifications:

1, a single row beginning with # comment can be added before or behind the code for a new line; multi-line comment with a three-line comments quotes change, same as the current code comments indent;

2, only to add a comment in key places or difficult to understand, can Chinese / English, pinyin can not be used;

 

Guess you like

Origin www.cnblogs.com/relex/p/10954277.html