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.08s 14032KB
stdin
12
12.3
人物
[12,45,454]
stdout
请输入内容:内容为:12
数据类型: <class 'str'>