fork download
  1.  
  2. name = "小明"
  3. age = 18
  4. height = 1.75
  5. # 输出信息
  6. print(f"姓名:{name}")
  7. print(f"年龄:{age} 岁")
  8. print(f"身高:{height} 米")
Success #stdin #stdout 0.02s 9148KB
stdin
Standard input is empty
stdout
姓名:小明
年龄:18 岁
身高:1.75 米