[Skillshare] Python Beginners Programming Guide
About This Class
Learn to program with no previous experience in just a few hours!
Python is easy to learn, completely free and great for beginners.
This course will teach you everything you need to know about it so you can start creating basic programs with ease!
Concepts Covered
By the end of the course students should have an understanding of the following concepts:
- Python & Pycharm Installation
- Variables
- Data Types
- Lists, Arrays & Tuples
- Mathematical Operators
- String Formatting
- Condition Statements
- String Operations
- Loops
- Functions
- Classes
- Dictionaries
What You Will Need
- 2-3 hours of free time (This is dependant on skill level and speed)
- A modern PC / Mac capable of installing and running Pycharm (See specs here)
- An internet connection to download Python and Pycharm
Hands-on Class Project
Solve this programming challenge!
If you followed through the tutorials you should have a firm understanding of how to program in Python. Solve the challenge below by utilising your knowledge of variables, if statements, functions & dictionaries and post your solution!
What To Submit
Try and submit a .py or python file with your code!
Challenge: Calculate The Profit
You work for a manufacturer and have been asked to calculate the total profit made on the sales of a product. You are given a dictionary containing the cost price per unit (in dollars), sell price per unit (in dollars), and the starting inventory. Return the total profit made, rounded to the nearest dollar. Assume all of the inventory has been sold.
Hint: Profit = Total Sales – Total Cost
Example 1:
Cost Per Unit: $32.67
Sell Price Per Unit: $45.00
Inventory: 1,200
The Calculated Profit Should Be $14,796
Example 2:
Cost Per Unit: $225.89
Sell Price Per Unit: $550.00
Inventory: 100
The Calculated Profit Should Be $32,411
Example 3:
Cost Per Unit: $2.77
Sell Price Per Unit: $7.95
Inventory: 8,500
The Calculated Profit Should Be $44,030
Use The Attached Python File As A Starting Point
Size: 740.07 GB
https://www.skillshare.com/en/classes/Python-Beginners-Programming-Guide/1796745209.