fork download
  1. #quantity = int(input("How many items?"))
  2.  
  3. # For decimals
  4. #price = float(input("Enter the price: R"))
  5.  
  6. #total = quantity * price
  7. #print(total)
  8.  
  9. age = input("Enter your age: ")
  10. print(age) # Output: <class 'str'>
  11.  
Success #stdin #stdout 0.09s 14068KB
stdin
47

stdout
Enter your age: 47