Python includes exercises 40

Python includes exercises 40

Topic: will a number of appliance repair group in reverse order output.

Program analysis: with the first exchange with the last one.

Source Code:

 

 Examples of the above output is:

 

Guess you like

Origin www.cnblogs.com/danjiu/p/12449969.html