Two, Python development --- 5, string processing

Input and output

    Input Input

      Get data from the keyboard can be completed through it, and then saved to the specified variable

      input data acquisition, it is a way to save a string , even if the input is digital, it is saved as a string

    print output

                          

name = ' Jay Big Brother ' 
Age = 18 
address = ' Pax ' 
Print ( ' Hello everyone my name is% s, I am% d years old, I'm from% S ' % (name, Age, address))
 Print ( ' Hello everyone I called S% ' % name)

 

 

 

 

 

 

 

 

 

 

 

 

 

    

Guess you like

Origin www.cnblogs.com/lanzhijie/p/11543870.html