Skip to content

In this repository I will be adding past projects I did in codecademy pro in python 3 and will update as I finish more projects

Notifications You must be signed in to change notification settings

Lodoelama/Codecademy-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecademy-projects

Python 3

Receipts for Lovely Loveseats

We’ve decided to pursue the dream of small-business ownership and open up a furniture store called Lovely Loveseats for Neat Suites on Fleet Street. With our newfound knowledge of Python programming, we’re going to build a system to help speed up the process of creating receipts for your customers.

In this project, we will be storing the names and prices of a furniture store’s catalog in variables. You will then process the total price and item list of customers, printing them to the output terminal.

Please note: Projects do not run tests against your code. This experience is more open to your interpretation and gives you the freedom to explore. Remember that all variables must be declared before they are referenced in your code.

Sal's Shipping

Sal runs the biggest shipping company in the tri-county area, Sal’s Shippers. Sal wants to make sure that every single one of his customers has the best, and most affordable experience shipping their packages.

In this project, you’ll build a program that will take the weight of a package and determine the cheapest way to ship that package using Sal’s Shippers.

Sal’s Shippers has several different options for a customer to ship their package:

Ground Shipping, which is a small flat charge plus a rate based on the weight of your package. Ground Shipping Premium, which is a much higher flat charge, but you aren’t charged for weight. Drone Shipping (new), which has no flat charge, but the rate based on weight is triple the rate of ground shipping. Here are the prices:

Ground Shipping

Weight of Package Price per Pound Flat Charge 2 lb or less $1.50 $20.00 Over 2 lb but less than or equal to 6 lb $3.00 $20.00 Over 6 lb but less than or equal to 10 lb $4.00 $20.00 Over 10 lb $4.75 $20.00

Ground Shipping Premium

Flat charge: $125.00

Drone Shipping

Weight of Package Price per Pound Flat Charge 2 lb or less $4.50 $0.00 Over 2 lb but less than or equal to 6 lb $9.00 $0.00 Over 6 lb but less than or equal to 10 lb $12.00 $0.00 Over 10 lb $14.25 $0.00

Write a shipping.py Python program that asks the user for the weight of their package and then tells them which method of shipping is cheapest and how much it will cost to ship their package using Sal’s Shippers.

Magic 8-Ball

The Magic 8-Ball is a popular toy developed in the 1950s for fortune-telling or advice seeking.

Write a magic8.py Python program that can answer any “Yes” or “No” question with a different fortune each time it executes.

Magic 8-Ball, should I do this project?

We’ll be using the following 9 possible answers for our Magic 8-Ball:

Yes - definitely It is decidedly so Without a doubt Reply hazy, try again Ask again later Better not tell you now My sources say no Outlook not so good Very doubtful The output of the program will have the following format:

[Name] asks: [Question] Magic 8-Ball’s answer: [Answer]

Len's Slice

You work at Len’s Slice, a new pizza joint in the neighborhood. You are going to use your knowledge of Python lists to organize some of your sales data.

Gradebook

You are a student and you are trying to organize your subjects and grades using Python. Let’s explore what we’ve learned about lists to organize your subjects and scores.

Getting Ready for Physics Class

You are a physics teacher preparing for the upcoming semester. You want to provide your students with some functions that will help them calculate some fundamental physical properties.

Carly's Clippers

You are the Data Analyst at Carly’s Clippers, the newest hair salon on the block. Your job is to go through the lists of data that have been collected in the past couple of weeks. You will be calculating some important metrics that Carly can use to plan out the operation of the business for the rest of the month.

You have been provided with three lists:

hairstyles: the names of the cuts offered at Carly’s Clippers. prices: the price of each hairstyle in the hairstyles list. last_week: the number of purchases for each hairstyle type in the last week. Each index in hairstyles corresponds to an associated index in prices and last_week.

For example, The hairstyle "bouffant" has an associated price of 30 from the prices list, and was purchased 2 times in the last week as shown in the last_week list. Each of these elements are in the first index of their respective lists.

About

In this repository I will be adding past projects I did in codecademy pro in python 3 and will update as I finish more projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages