fork download
  1. # your code goes here
  2.  
  3. #print("Hello World")
  4.  
  5. #help("keywords")
  6.  
  7. nm = input ()
  8. print(nm)
  9. print(type(nm))
  10.  
  11. # type conversion
  12. flt = float(nm)
  13. print(flt)
  14. print(type(flt))
  15.  
  16.  
  17.  
Success #stdin #stdout 0.03s 9600KB
stdin
1.8
stdout
1.8
<class 'str'>
1.8
<class 'float'>