Python Forum
Thread Rating:
  • 3 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Beginner
#1
Hi, I would like to know the error of this script.

salary = float(input("Enter your salary: "))
if salary > 2000:
gain = (salary + (salary * 0,10))
print("Your new salary is $%-6.2"%gain)
Reply


Messages In This Thread
Beginner - by willianramos - Oct-13-2017, 07:04 PM
RE: Beginner - by Lux - Oct-13-2017, 07:15 PM
RE: Beginner - by willianramos - Oct-13-2017, 07:25 PM
RE: Beginner - by Lux - Oct-13-2017, 07:28 PM
RE: Beginner - by willianramos - Oct-13-2017, 07:36 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020