Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Beginner
Post: RE: Beginner

(Oct-13-2017, 07:28 PM)Lux Wrote: Did you mean to write 0.10 instead of 0,10? (period instead of comma) Yes, sorry for bothering with a little problem.
willianramos General Coding Help 4 3,585 Oct-13-2017, 07:36 PM
    Thread: Beginner
Post: RE: Beginner

##algorithm that reads a person's salary and performs an increase salary = float(input("Enter your salary: ")) if salary > 2000: gain = (salary + (salary * 0,10)) print("Your new salary is $%-...
willianramos General Coding Help 4 3,585 Oct-13-2017, 07:25 PM
    Thread: Beginner
Post: Beginner

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)
willianramos General Coding Help 4 3,585 Oct-13-2017, 07:04 PM

User Panel Messages

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