Skip to content

jhonwilame/python-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ℹ️  This repo contains questions and exercises to learn and practice Python

📊  There are currently 70 exercises and questions

Python Exercises

Hello World

Name Objective & Instructions Solution Comments
Hello World! Exercise
Python Characteristics Exercise Solution
What is the result? - Level 1 Exercise Solution
What is the result? - Level 2 Exercise

Objects & Data Types

Name Objective & Instructions Solution Comments
Objects 101 Exercise Solution
Data Types? I know a few Exercise Solution
Choose a Data Type - level 1 Exercise Solution
Choose a Data Type - level 2 Exercise Solution
Mutability Exercise Solution
Strongly Typed Exercise Solution
Object Creation Exercise Solution

Variables

Name Objective & Instructions Solution Comments
Valid Names Exercise Solution
Locations or Names Exercise Solution
Types Exercise Solution
Multiple Value Assignment Exercise Solution
Copying Variables Exercise Solution
Mutable Objects Exercise Solution

Booleans

Name Objective & Instructions Solution Comments
True or False? Exercise Solution
Conversion Exercise Solution

Strings

Name Objective & Instructions Solution Comments
22 times Exercise
Variables Exercise Solution
What is the result? - Level 1 Exercise Solution
What is the result? - Level 2 Exercise Solution
Starts with a letter Exercise Solution
Change Strings Exercise Solution
All Digits Exercise Solution
Removing Characters Exercise Solution
Reverse a String Exercise Solution
Compress Strings Exercise
Slicing - Level 1 Exercise Solution
Slicing - Level 2 Exercise Solution

Numbers

Name Objective & Instructions Solution Comments
What is the result? Exercise Solution
Operations - Level 1 Exercise Solution
Operations - Level 2 Exercise Solution
Bases Exercise Solution
Palindrome Exercise Solution

Lists & Tuples

Name Objective & Instructions Solution Comments
Access List Items Exercise Solution
Equal Lists Exercise Solution
Length Exercise
Min Max Exercise Solution
Three Biggest Items Exercise Solution
What is the result? - Level 1 Exercise Solution
What is the result? - Level 2 Exercise Solution

Loops

Name Objective & Instructions Solution Comments
Break Out Exercise Solution
Break Out 2 Exercise Solution
Every character Exercise Solution
Stream of Numbers Exercise Solution
Refactor-1 Exercise Solution

Functions

Name Objective & Instructions Solution Comments
My First Function Exercise Solution
Calculator Exercise Solution
First Class Objects Exercise Solution

OOP

Name Objective & Instructions Solution Comments
Inheritance Exercise Solution

Classes

Name Objective & Instructions Solution Comments
Attributes Exercise Solution

Magic Methods

Name Objective & Instructions Solution Comments
Length Magic Method Exercise

Unit Testing

Name Objective & Instructions Solution Comments
Calculator Unit Tests Exercise Solution
Fix Calculator Unit Tests Exercise

Exceptions

Name Objective & Instructions Solution Comments
Dividing by Zero Exercise Solution
What exception is raised? - Level 1 Exercise Solution
What exception is raised? - Level 2 Exercise Solution

Regex

Name Objective & Instructions Solution Comments
Substitute Strings Exercise Solution

Files

Name Objective & Instructions Solution Comments
Read a File Exercise
Reverse a file Exercise
Print specific line Exercise

Operating Systems

Name Objective & Instructions Solution Comments
File exists Exercise
Print all the files in a directory Exercise

Improve the Code

Name Objective & Instructions Solution Comments
If True Exercise Solution
Walrus Exercise Solution
Vowel Letters Exercise Solution

Misc

Name Objective & Instructions Solution Comments
Random Number Exercise
Random Item Exercise

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.5%
  • Shell 3.5%