"""
接收控制台的输入
How old are you?
18
How tall are you ?
180
How much do you weigh?
50
So ,you are '18' old,'180' tall and '50' heavy,

python3的控制台输入函数时input();
"""
print("How old are you?");

age=input();

print("How tall are you ?");

height=input();

print("How much do you weigh?");

weight=input();

print("So ,you are %r old,%r tall and %r heavy," %(age,height,weight));

  

相关文章:

  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2021-07-29
  • 2021-09-25
  • 2021-12-03
  • 2018-09-14
猜你喜欢
  • 2021-12-02
  • 2021-06-14
  • 2022-12-23
  • 2021-10-24
  • 2021-07-18
  • 2022-12-23
  • 2021-08-22
相关资源
相似解决方案