Python Exercises for Beginners: Solve 100+ Coding Challenges

Python Exercises for Beginners: Solve 100+ Coding Challenges

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 10h 49m | 3.64 GB

Practice your Python Skills with 100+ Python Exercises and Check your Solutions with Step-by-Step Video Explanations.

If you are learning Python and you want to take your Python skills to the next level with intensive practice, then this course is for you. Apply your knowledge to solve more than 100 Python exercises and check your solutions with step-by-step video lectures with visual effects and diagrams.

Solve 100+ Exercises to Take Your Python Skills to the Next Level.

  • Solve more than 100 exercises and improve your problem-solving and coding skills.
  • Learn new Python tools such as built-in functions and modules.
  • Apply your knowledge of Python to solve practical coding challenges.
  • Understand how the code works line by line behind the scenes.
  • Identify different ways to solve a problem and which one is more concise and efficient.
  • Test your code with different values and inputs to verify its correctness.
  • Gain practical and valuable coding skills.

Improve your Python Skills and Gain Valuable Practical Experience

Python is currently one of the most popular programming languages and its popularity continues to rise every year. It is used for real-world applications in diverse areas such as Web Development, Data Science, Machine Learning, Artificial Intelligence and many more. Learning Python is your next step into the powerful world of computer science. Through practice, you can improve your coding and problem-solving skills. You will also learn new tools that you can use in Python.

Your knowledge of Python will be extremely helpful in any field, including:

  • Web Development
  • Machine Learning
  • Data Science
  • Artificial Intelligence
  • Game Development
  • Mobile App Development
  • Bioinformatics
  • Medical Software
  • Computer Vision
  • and… many more!

Coding skills are essential to succeed in the world of the future. Therefore, if you are thinking about entering any of these fields or if you are planning to expand your computer science skills, then this course is for you.

The concepts and techniques that you will learn in this course are easily transferable to other programming languages like Java, JavaScript, and many more because you will practice how to analyze and solve problems using code.

Goals

By the end of this course, you will be able to:

  • Analyze a problem step by step and develop a solution in Python.
  • Solve a problem in Python using different approaches.
  • Use built-in Python functions and modules to solve a problem efficiently.
  • Understand how the code works behind the scenes.
  • Work with the main elements of Python: strings, lists, tuples, dictionaries, conditionals, loops, recursion, files, and more..
  • Test your code with various inputs and values to verify its correctness.

Learning Material & Resources

Coding Challenges: 100+ coding challenges with detailed descriptions and hints to guide you through this journey.

Exercises Divided by Levels of Difficulty: the exercises are divided into two levels, so you can start working on them according to your skill level and then solve more advanced exercises as you practice.

Video Lectures: 10+ hours of video lectures and resources with step-by-step solutions and explanations of how to analyze the problems and how the code works behind the scenes.

Visual Effects: You will learn how to solve these exercises with carefully designed visual effects, animations, and diagrams.

Test Cases: each coding challenge has test cases to help you test if your solution is correct. Each problem can be solved in multiple ways, so these test cases will help you confirm if your solution is correct.

Python Files: you will be able to download the sample solutions as Python files to run and experiment with the code in your device.

Progress Tracker: a PDF poster that you can print and cross out as you complete the exercises to help you track your progress.

Cornell Note-taking Method Page Format: a PDF format that you can print to take notes following the Cornell Note-taking Method (a page divided into three sections to write your notes, comments, and summary).

Code Notebook Format: a PDF format that you can print to write your solutions or the sample solutions by hand, analyze the code, and add your comments.

The Coding Challenges Cover:

  • Strings
  • Lists and Tuples
  • Dictionaries
  • Conditionals
  • Loops
  • Recursion
  • Files
  • Miscellaneous and More Challenging Exercises

Most exercises combine different elements from these topics, but the exercises are grouped by their most relevant category.

Table of Contents

Welcome to the Course Let’s Start Coding
1 Welcome Course Structure and PDF Resources
2 Important Course Information
3 Collect Your Badge, Introduce Yourself, and Share your Goals

Exercises 1 – 8 Strings (Level 1)
4 Welcome to String Exercises
5 Challenge Print the Length of a String
6 Solution Print the Length of a String
7 Challenge Print the Character at a Specific Index
8 Solution Print the Character at a Given Index
9 Challenge Reverse a String
10 Solution Reverse a String
11 Challenge First and Last Three Characters of a String
12 Solution First and Last Three Characters of a String
13 Milestone Reached
14 Challenge Remove Characters at Even Indices
15 Solution Remove Characters at Even Indices
16 Challenge Check if a String Only Contains Numbers
17 Solution Check if a String Only Contains Numbers
18 Challenge Remove nth Character from a String
19 Solution Remove nth Character from a String
20 Challenge Replace a Character in a String
21 Solution Replace a Character in a String
22 Collect and Share Your Badge

Exercises 9 – 16 Strings (Level 2)
23 Challenge Change Commas by Dots
24 Solution Change Commas by Dots in a String
25 Challenge Check if String Contains All Letters in the Alphabet
26 Solution Check if String Contains All Letters in the Alphabet
27 Challenge Remove Spaces from a String
28 Solution Remove Spaces from a String
29 Challenge Check if a String Starts with a Prefix
30 Solution Check if a String Starts with a Prefix
31 Challenge Check if a String Ends with a Suffix
32 Solution Check if a String Ends with a Suffix
33 Milestone Reached
34 Challenge Reverse Words in a String ()
35 Solution Reverse Words in a String ()
36 Challenge Count Repeated Characters ()
37 Solution Count Repeated Characters ()
38 Challenge Sort Words in Alphabetical Order ()
39 Solution Sort Words in Alphabetical Order ()
40 Collect and Share Your Badge

Exercises 17 – 24 Lists and Tuples (Level 1)
41 Welcome to Lists and Tuples Exercises
42 Challenge Multiply all Elements in a List
43 Solution Multiply all Elements in a List
44 Challenge Print Elements on the Same Line Without Commas
45 Solution Print Elements on the Same Line Without Commas
46 Challenge Get Max and Min Values
47 Solution Get Max and Min Values
48 Challenge Check if List is Empty or Not
49 Solution Check if List is Empty or Not
50 Milestone Reached
51 Challenge Print the Elements and Their Indices
52 Solution Print the Elements and Their Indices
53 Challenge Remove Matching Element
54 Solution Remove Matching Element
55 Challenge Remove Duplicates from a List
56 Solution Remove Duplicates from a List
57 Challenge Count Elements Greater than 3
58 Solution Count Elements Greater than 3
59 Collect and Share Your Badge

Exercises 25 – 32 Lists and Tuples (Level 2)
60 Challenge Difference Between Two Lists
61 Solution Difference Between Two Lists
62 Challenge Distance Between Two 3D Points
63 Solution Distance Between Two 3D Points
64 Challenge Print Common Elements in Two Lists
65 Solution Print Common Elements in Two Lists
66 Challenge Find the Second Largest Value in a List
67 Solution Find the Second Largest Value in a List
68 Milestone Reached
69 Challenge Find the Second Smallest Value in a List
70 Solution Find the Second Smallest Value in a List
71 Challenge Make a Frequency Dictionary from the Elements of a List ()
72 Solution Make a Frequency Dictionary from the Elements of a List ()
73 Challenge Flatten a List that Contains Lists ()
74 Solution Flatten a List that Contains Lists ()
75 Challenge Generate all Permutations of a List ()
76 Solution Generate all Permutations of a List ()
77 Challenge Use Tuples
78 Collect and Share Your Badge

Exercises 33 – 38 Dictionaries (Level 1)
79 Welcome to Dictionary Exercises
80 Challenge Check if a Key Exists in a Dictionary
81 Solution Check if a Key Exists in a Dictionary
82 Challenge Add a Key-Value Pair Only if the Key is Not in the Dictionary
83 Solution Add a Key-Value Pair Only if the Key is Not in the Dictionary
84 Challenge Merge Two Dictionaries
85 Solution Merge Two Dictionaries
86 Milestone Reached
87 Challenge Check if All Values are Equal
88 Solution Check if All Values are Equal
89 Challenge Find the Maximum Value in a Dictionary
90 Solution Find the Maximum Value in a Dictionary
91 Challenge Find the Minimum Value in a Dictionary
92 Solution Find the Minimum Value in a Dictionary
93 Collect and Share Your Badge

Exercises 39 – 44 Dictionaries (Level 2)
94 Challenge Find Frequency of Values in a Dictionary
95 Solution Find the Frequency of the Values in a Dictionary
96 Challenge Make a Dictionary from Nested Lists
97 Solution Make a Dictionary from Nested Lists
98 Challenge Print the Largest Sum of Values
99 Solution Print the Max Sum of Values
100 Milestone Reached
101 Challenge Make a Frequency Dictionary for the Characters in a String ()
102 Solution Make a Frequency Dictionary for the Characters in a String ()
103 Challenge Sort Lists in Ascending Order ()
104 Solution Sort Lists in Ascending Order ()
105 Challenge Convert Dictionary into a List of Lists ()
106 Solution Convert Dictionary into a List of Lists ()
107 Collect and Share Your Badge

Exercises 45 – 50 Programs with Conditionals (Level 1)
108 Welcome to Conditionals Exercises
109 Challenge Zero, Positive, or Negative
110 Solution Zero, Positive, or Negative
111 Challenge Check Vowels and Consonants
112 Solution Check Vowels and Consonants
113 Challenge Print Max of Three Numbers
114 Solution Print Max of Three Numbers
115 Milestone Reached
116 Challenge Print Min of Three Number
117 Solution Print Min of Three Numbers
118 Challenge Four Seasons
119 Solution Four Seasons
120 Challenge Compare Three Numbers
121 Solution Compare Three Numbers
122 Collect and Share Your Badge

Exercises 51 – 56 Programs with Conditionals (Level 2)
123 Challenge Find Number of Days in a Month
124 Solution Find Number of Days in a Month
125 Challenge Increasing or Decreasing Order
126 Solution Increasing or Decreasing Order
127 Challenge Solve Quadratic Equations
128 Solution Solve Quadratic Equations
129 Milestone Reached
130 Challenge Check if a Year is a Leap Year or Not ()
131 Solution Check if a Year is a Leap Year or Not ()
132 Challenge Interactive Calculator ()
133 Solution Interactive Calculator ()
134 Challenge Rock, Paper, Scissors ()
135 Solution Rock, Paper, Scissors ()
136 Collect and Share Your Badge

Exercises 57 – 63 For Loops and While Loops (Level 1)
137 Welcome to For Loops and While Loops Exercises
138 Challenge Print the First 15 Positive Integers
139 Solution Print the First 15 Positive Integers
140 Challenge Print Integers in Reverse Order (from n to 1)
141 Solution Print Integers in Reverse Order (from n to 1)
142 Challenge Sum of First 100 Positive Integers
143 Solution Sum of First 100 Positive Integers
144 Challenge Print the Multiplication Table
145 Solution Print the Multiplication Table
146 Milestone Reached
147 Challenge Print the Alphabet using a Loop
148 Solution Print the Alphabet using a Loop
149 Challenge First 100 Even Numbers
150 Solution First 100 Even Numbers
151 Challenge Calculate Factorial
152 Solution Calculate Factorial
153 Challenge Use While Loops
154 Collect and Share Your Badge

Exercises 64 – 71 For Loops and While Loops (Level 2)
155 Challenge Check if a Number is Prime
156 Solution Check if a Number is Prime
157 Challenge Print a Pattern using Loops
158 Solution Print a Pattern using Loops
159 Challenge Print Digits in Reverse Order
160 Solution Print Digits in Reverse Order
161 Challenge Reverse a String using a Loop
162 Solution Reverse a String using a Loop
163 Milestone Reached
164 Challenge Print Half Pyramid using Loops ()
165 Solution Print Half Pyramid using Loops ()
166 Challenge Floyd’s Triangle ()
167 Solution Floyd’s Triangle ()
168 Challenge Triangular Letters Pattern ()
169 Solution Triangular Letters Pattern ()
170 Challenge Diamond Made with Asterisks ()
171 Solution Diamond Made with Asterisks ()
172 Collect and Share Your Badge

Exercises 72 – 76 Recursion (Level 1)
173 Welcome to Recursion Exercises
174 Challenge Find the Sum of a List using Recursion
175 Solution Find the Sum of a List using Recursion
176 Challenge Find the nth Fibonacci Number
177 Solution Find the nth Fibonacci Number
178 Challenge Recursive Factorial
179 Solution Recursive Factorial
180 Milestone Reached
181 Challenge Find the Sum of the Digits of a Positive Integer
182 Solution Find the Sum of the Digits of a Positive Integer
183 Challenge Solve a Power Recursively
184 Solution Solve a Power Recursively
185 Collect and Share Your Badge

Exercises 77 – 82 Recursion (Level 2)
186 Challenge Find the Greatest Common Divisor
187 Solution Find the Greatest Common Divisor
188 Challenge Check if a String is a Palindrome
189 Solution Check if a String is a Palindrome
190 Challenge Count Vowels in a String
191 Solution Count Vowels Recursively
192 Milestone Reached
193 Challenge Print a Pattern using Recursion
194 Solution Print a Pattern using Recursion
195 Challenge Convert from Decimal to Binary with Recursion ()
196 Solution Convert from Decimal to Binary with Recursion ()
197 Challenge Implement Binary Search Recursively ()
198 Solution Implement Binary Search Recursively ()
199 Collect and Share Your Badge

Exercises 83 – 87 Working with Files (Level 1)
200 Welcome to Files Exercises
201 Challenge Read a Text File
202 Solution Read a Text File
203 Challenge Print the First n Lines of a File
204 Solution Print the First n Lines of a File
205 Milestone Reached
206 Challenge Print the Last n Lines of a File
207 Solution Print the Last n Lines of a File
208 Challenge Find the Longest Word in a File
209 Solution Find the Longest Word in a File
210 Challenge Make Frequency Dictionary of the Words in a File
211 Solution Make Frequency Dictionary of the Words in a File
212 Collect and Share Your Badge

Exercises 88 – 91 Working with Files (Level 2)
213 Challenge Write a List to a File
214 Solution Write a List to a File
215 Challenge Count Characters in a File
216 Solution Count Characters in a File
217 Milestone Reached
218 Challenge Copy the Content of a File to Another File ()
219 Solution Copy the Content of a File to Another File ()
220 Challenge Check if a File Exists ()
221 Solution Check if a File Exists ()
222 Collect and Share Your Badge

Exercises 92 – 97 Miscellaneous and More Challenging Programs (Level 1)
223 Welcome to More Challenging Exercises
224 Challenge Display Current Date and Time
225 Solution Display Current Date and Time
226 Challenge Convert Seconds to Minutes and Hours
227 Solution Convert Seconds to Minutes and Hours
228 Challenge Calculate the Area of a Circle
229 Solution Calculate the Area of a Circle
230 Milestone Reached
231 Challenge Compute the Area of a Triangle
232 Solution Compute the Area of a Triangle
233 Challenge Celsius to Fahrenheit Conversion
234 Solution Celsius to Fahrenheit Conversion
235 Challenge Fahrenheit to Celsius Conversion
236 Solution Fahrenheit to Celsius Conversion
237 Collect and Share Your Badge

Exercises 98 – 101 Miscellaneous and More Challenging Programs (Level 2)
238 Challenge Calculate Body Mass Index
239 Solution Calculate Body Mass Index
240 Challenge Print a Calendar ()
241 Solution Print a Calendar ()
242 Milestone Reached
243 Challenge Find the Number of Days Between Two Dates ()
244 Solution Find the Number of Days Between Two Dates ()
245 Challenge Check a Pattern using a Regular Expression ()
246 Solution Check a Pattern using a Regular Expression ()
247 Collect and Share Your Badge

Congratulations You did it!
248 Congratulations! Download Your Certificate of Completion and Badge
249 Where to go From Here
250 Bonus Lecture

Homepage