Skip to content

luukw22/hyperskill-pythoncore-myfirstprojectwithpython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperskill Python Core: My First Project with Python project

This project will introduce you to Hyperskill projects. Practice Python coding to build a program that can automate your account management routine.

About

Imagine that you're the owner of a new small corner shop. You are doing well and want to determine how much you earned in the first month. Create a simple tool that will calculate your net income. Upon completing this project, you can use this tool for your own accounting needs.

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.


Stage 1/3: Print the prices

Start with printing the names of items and their prices using your first Python function.

  • Introduction to Python
  • Multi-line programs
  • Writing first program

See the source code: mfpwp-stage1.py


Stage 2/3: Measure total income of your shop

You know how much you earned by selling each item. Calculate the total earnings before staff and other expenses!

  • Variables
  • Basic data types
  • PEP 8: Coding style guide
  • Comments
  • Integer arithmetic

See the source code: mfpwp-stage2.py


Stage 3/3: Calculate net income

Measure the shop's net income. Subtract staff, electricity, and security expenses.

  • Program with numbers
  • Naming variables
  • Taking user's input
  • Sep and end arguments of print

See the source code: mfpwp-stage3.py


Project complete!

Project completed by Luuk Walhout on 13 February 2024 as part of the Hyperskill Python Core track.

About

My First Project with Python project. Part of the Hyperskill Python Core track.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages