Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to Integer Output Character Constants
How to Integer Output Character Constants
Here we share the method of integer output of character constants in pyhon software.

Equipment: Lenovo g50

System: win 1064 bit

Software: pyhon3.7

1. First, in the open software, enter age = 18 in the first line of code.

2. Then enter name = 'TOM' in the second line of code.

3. Then enter weight = 75.5 in the third line of code.

4. Then enter stu_id = 1 in the fourth line of code.

5. Finally, enter print ('My age is d% this year',% age) in the fifth line, and the output is successful.