Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python Practice Guide for Beginners
Rating: 4.5 out of 5(33 ratings)
11,286 students

Python Practice Guide for Beginners

Practice your coding and problem-solving skills with many Python Coding Challenges designed for Beginners.
Created byRupam Das
Last updated 7/2021
English
English [Auto],

What you'll learn

  • Practice your coding and problem-solving skills with many Python Coding Challenges designed for Beginners.
  • Learn how to use Python tools to solve exercises using strings, lists, tuples, dictionaries, conditionals, loops, files, and more.
  • Ask questions to your instructor if you need any assistance or guidance.
  • Check your solutions with detailed step-by-step video lectures that explain how to solve each challenge.
  • Solve challenging problems that combine your knowledge of the fundamentals of programming in Python.
  • Download the sample solutions as Python files to run, test, and experiment with the code.

Course content

5 sections46 lectures4h 8m total length
  • Prime number checking logic8:13

    Learn prime number checking logic by validating user input, testing divisibility from 2 to n-1 (or up to half or root of the number), and using a flag in Python.

  • Prime number checking Implementation7:48

    Implement a prime number checker in Python by inputting a number, testing divisibility from two to the number minus one, and using a flag to report primality without repeated prints.

  • Prime number in range logic7:31

    Input the lower and upper limits, create a range, and test each number for primality by checking divisibility from 2 to n/2, and print the primes.

  • Prime number in range implementation5:07

    Implement a Python program that prompts for a lower and upper limit, generates the range, and prints prime numbers by testing divisibility up to n/2.

  • Sum of digits of a number logic6:30

    Learn to compute the sum of a number's digits by initializing a sum variable, extracting each digit with modulus, adding it, and dividing by ten until the number becomes zero.

  • Sum of digits of a number implementation2:46

    Implement a Python program to sum the digits of a user input number using a loop, modulo 10, and integer division by ten, then print the result.

  • Armstrong Number check logic3:07

    Learn to check a three-digit Armstrong number in Python by summing the cubes of its digits, using a loop and a minimal code change.

  • Armstrong Number implementation4:50

    Learn to implement an Armstrong number check in Python by copying the input, summing the cubes of its digits in a loop, and comparing the sum to the original number.

  • Armstrong Number in range5:23
  • Swapping6:11

    Master swapping two variables using a temporary third variable, illustrated with a kitchen bowl analogy and assignment behavior. Discover Python's shortcut, a, b = b, a, that automatically swaps values.

  • Simple Interest and BMI6:40

    Learn to write Python programs to compute simple interest from principal, rate, and time, and to calculate BMI from weight and height in meters.

  • Leap Year checking logic3:03

    Learn how the Gregorian leap year rules work and implement a year check: leap years are divisible by four, except centuries not divisible by four hundred, with user input.

  • Leap Year checking implementation2:59

    Enter a year and implement a python leap year check. Use the rules: divisible by four but not by hundred, unless divisible by four hundred.

  • Palindrome Number checking logic6:03

    learn how to check if a user input is a palindrome number by reversing digits and comparing with the original, using digit separation, python code, and tenfold reverse construction.

  • Palindrome Number checking implementation3:14

    Implement a Python palindrome number check by reversing the digits and comparing to the original copy, then print whether the number is a palindrome.

Requirements

  • Access to a computer with an internet connection. Everything else we use in the course is publicly available and we'll guide you through getting it.
  • Basic knowledge of programming fundamentals and Python.

Description

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 many Python exercises and check your solutions with step-by-step video lectures with visual effects and diagrams.

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

  • Solve many 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.


    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.



Who this course is for:

  • Beginner coding students who want to start learning coding with Python
  • Beginner coding students who want to practice coding with Python