These are the problems sets that I solved in the course: MIT - Introduction to Computer Science and Programming Using Python
-
find_vowels_in_string.py
- Finding number of vowels in any string. -
find_word_occurrence_in_string.py
- Finding the occurrence of stringbob
in any string. -
longest_substring_alphabetical_order.py
- Program to print the longest substring in any string. -
guess_number.py
- Computer will guess the secret number of the user from 0 to 100. -
iter_power.py
- Iterative function that calculates the exponential base by using successive multiplication. -
power_recur.py
- Function which computes base by recursively calling itself and then multiplying the result. -
gcd_iter.py
- Iterative function for greatest common divisor of 2 positive integers. -
gcd_recur.py
- Recursive function for greatest common divisor of 2 positive integers. -
bisection_search_character_in_string.py
- Using bisection search, determine if a character is in a string as long as the string is sorted in alphabetical order. -
paying_debt_off_in_a_year.py
- A program to calculate the credit card balance after one year if a person only pays the minimum monthly payment required by the credit card company each month. -
bisection_search_fixed_monthly_payment.py
- A program to calculate more accurate fixed monthly payment. -
dict_biggest.py
- Using dictionaries, a procedure that returns the key corresponding to the entry with the largest number of values associated with it. -
MIT_hangman_game.py
- A variation of the classic wordgame Hangman. Interactive hangman game between a player and the computer.