fork download
  1. print('我的第一个python程序')
  2. print(25)
  3. #输入你的名字
  4. name=input('请输入你的名字:')
  5. #输出名字 问好
  6. print(name+'欢迎你,使用python')
  7. #输入年龄
  8. age =int(input('请输入你的年龄:'))
  9. #输出年龄
  10. print(f'你的年龄是:{age}')
Success #stdin #stdout 0.08s 7996KB
stdin
江江
18
stdout
我的第一个python程序
25
请输入你的名字:江江欢迎你,使用python
请输入你的年龄:你的年龄是:18