Home > database >  To solve the following questions, thank you.
To solve the following questions, thank you.

Time:04-08



For user input as alignment model, user input: left, right, and respectively: left-aligned, right-aligned and center alignment, * as filling symbols, 30 character width output PYTHON string, improve the code, please???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

M=input (" please enter the alignment mode: ")
S="PYTHON"
If m=="right" :
M="& gt;"
Elif m=="in" :
M="^"
The else:
M="& lt;"
Print (" {(1) _____ _____} ". The format ((2) _____ _____))
  • Related