Skip to content

This repository contains 15 introductory Python exercises designed to help beginners practice basic concepts of the language.

License

Notifications You must be signed in to change notification settings

gabriel-ribeiro-data/Python-Exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

15 Introductory Python Exercises

This repository contains 15 introductory Python exercises designed to help beginners practice basic concepts of the language.


Exercise 01 - Hello, World!

Create a program that prints "Hello, World!" to the screen.

Exercise 02 - Welcome Message

Write a program that reads a person's name and displays a welcome message.

Exercise 03 - Sum of Two Numbers

Create a program that reads two numbers and shows the sum between them.

Exercise 04 - Input Type Analyzer

Create a program that reads something from the keyboard and displays its primitive type and all possible information about it.

Exercise 05 - Predecessor and Successor Finder

Write a program that reads an integer and displays its successor and predecessor on the screen.

Exercise 06 - Double, Triple, and Square Root Finder

Create an algorithm that reads a number and shows its double, triple, and square root.

Exercise 07 - Student Grade Average Calculator

Develop a program that reads two grades from a student, calculates, and displays their average.

Exercise 08 - Meter to Centimeter and Millimeter Converter

Write a program that reads a value in meters and displays it converted to centimeters and millimeters.

Exercise 09 - Integer Multiplication Table

Write a program that reads an integer and displays its multiplication table on the screen.

Exercise 10 - Currency Converter BRL to USD

Create a program that reads how much money a person has in their wallet and shows how many dollars they can buy, considering the exchange rate of USD 1.00 = BRL 5.43.

Exercise 11 - Paint Coverage Estimator

Create a program that reads the width and height of a wall in meters, calculates its area, and the amount of paint needed to cover it, knowing that each liter of paint covers an area of 2m².

Exercise 12 - Discount Price Calculator

Create an algorithm that reads the price of a product and shows its new price with a 5% discount.

Exercise 13 - Salary Increase Calculator

Create an algorithm that reads an employee's salary and shows the new salary with a 15% increase.

Exercise 14 - Celsius to Fahrenheit Converter

Write a program that converts a temperature entered in °C to °F.

Exercise 15 - Car Rental Cost Calculator

Write a program that asks for the number of kilometers driven by a rented car and the number of days it was rented. Calculate the amount to pay, knowing that the car costs USD 60 per day and USD 0.15 per kilometer driven.


Credits

The statements of the exercises were taken from a Python class on the channel Curso em Vídeo, but the solutions are my own.


Gabriel Ribeiro

About

This repository contains 15 introductory Python exercises designed to help beginners practice basic concepts of the language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages