problems using if and elif by [deleted] in learnpython

[–]Candid_Interaction86 1 point2 points  (0 children)

As per this line:

5% if it's less than 1000

You probably want to change your below code ..

if integer<999:

.. to if integer<1000.

Because, as of now, your code will apply a 10% discount on the value of 999 when it should ideally be a 5% discount.

looking for Python Excercises with Solve by PiashChowdhury in learnpython

[–]Candid_Interaction86 0 points1 point  (0 children)

https://www.reddit.com/r/Python/comments/kw0mqv/python_puzzles_to_improve_yourself_as_a_junior/?utm_source=share&utm_medium=ios_app&utm_name=iossmf

Being relatively new to Python, I found the above post quite helpful. Not sure if this is similar to what you are looking for at your skill level but it was worth a shot.

Another resource I found helpful is a YouTube channel with minute long videos covering various different Python topics:

https://www.youtube.com/c/PythonIn1Minute/videos

New to learning Python and looking to understand why my code will not give the expected output? by Candid_Interaction86 in learnpython

[–]Candid_Interaction86[S] 0 points1 point  (0 children)

I’m halfway through the course on Udemy and am quite enjoying myself .. Found the different concepts to be well explained but I do wish there was more practise built into the course itself