fork(1) download
  1. # your code goes here
  2. # 接收用户输入
  3. user_input = input('请输入内容:')
  4.  
  5. # 显示输入内容
  6. print('内容为:' + user_input)
  7.  
  8. # 显示数据类型
  9. print('数据类型:', type(user_input))
Success #stdin #stdout 0.12s 14120KB
stdin
454
stdout
请输入内容:内容为:454
数据类型: <class 'str'>