Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 5.11 KB

File metadata and controls

55 lines (37 loc) · 5.11 KB

CS50’s Introduction to Programming with Python.

This repository contains solutions to problem sets for 🖥️CS50's Intro to Programming with Python (CS50P) 2022: https://cs50.harvard.edu/python/2022/

Week 1 - Conditionals

Week 2 - Loops

Week 3 - Exceptions

  • Fuel Gauge - Determines % gas tank fullness, checks input for ValueError and ZeroDivisionError
  • Felipe's Taqueria - Creates a running tally of a menu order, terminates on ctl+D, ignores invalid menu entries
  • Grocery List - creates a gocery list from user input, terminates on ctl+D, catches any KeyErrors
  • Outdates - converts MM/DD/YYYY and Month Day, Year to YYYY-MM-DD, continually asks for proper input

Week 4 - Libraries

  • Emojize - uses emoji library to return input as emoji
  • Frank, Ian and Glen's Letters - Renders text in figlet fonts chosen by user's command line arg
  • Adieu, Adieu - uses inflect library to print a list of names as "name, name, ... and name"
  • Guessing Game - uses random library to make a number guessing game
  • Little Professor - generates addition problems of varying difficulty based on user input
  • Bitcoin Price Index - uses requests and json libraries to pull BTC price from site

Week 5 - Unit Tests