Python-programming-exercises
Python-programming-exercises copied to clipboard
100+ Python challenging programming exercises
Question 65 defines f(0) = 1. However, the expected answer for f(5) = 500 is wrong (should be 501). Also, the code assumes f(0) = 0. So either the question...
Added a simple multiplication table problem, which is very beginner friendly since it requires them to think about the use of multiple for loops, range() function, and most importantly how...
A doctor has a cinc where he serves his patients. The doctor's consultation fees are different for different groups of patients depending on their age. If the patient's age is...
def putNumbers(n): i = 0 while i
Added a challenge from hackerrank (30 Days of Code) that is quite easy for anyone.
A challenge that requires searching for vowels within a string and return a list of indexes where any vowels were spotted during the search.
A sentence reversing function that also swaps the case of the letters within the sentence. It is a medium level difficulty problem for beginners.
An easy hackerrank challenge from 30 days of Code, which requires are good understanding of if-elif-else statements in Python.
An easy hackerrank challenge from 30 days of Code.
I am pretty new here, so I don't know if this is the correct way to make changes. Let me know.