fork download
  1. n = int(input("The piece buy: "))
  2. a = 3 * n
  3. b = 5 * n
  4. y = (a + b) * (1 - 0.8)
  5.  
  6. print("BUY One and two:")
  7. print(f"The money save: {y:.2f} penny")
  8.  
Success #stdin #stdout 0.08s 7936KB
stdin
5
stdout
The piece buy: BUY One and two:
The money save: 8.00 penny