fork download
  1. height = 1.75
  2. username = '小明'
  3. is_student = True
  4. print( type (height))
  5. print( type (username))
  6. print( type (is_student))
  7. print( username + '的身高是' + str (height) + '米')
Success #stdin #stdout 0.1s 14160KB
stdin
Standard input is empty
stdout
<class 'float'>
<class 'str'>
<class 'bool'>
小明的身高是1.75米