End of Summer - hours only!Up to 80% off on all courses and bundles.-Close

This Python practice set contains simple coding exercises for beginners. These exercises will help you practice code organization skills such as handling variables, structuring program flow with if statements and for loops, and writing functions. You’ll work with many string functions and text files and practice various iteration techniques over strings, lists, and dictionaries.

This course is organized into three fun thematic sections, each related to working with words and strings in Python. In the first section, you’ll implement a simple cipher in Python and use it to code and decode words. In the second section, you’ll analyze the text of one of the Sherlock Holmes novels, “The Hound of the Baskervilles” by Arthur Conan Doyle. Finally, in the last section, you'll implement functions helpful in playing the game Scrabble.

Here is what you’ll practice in each section:

  • Cipher: You’ll learn about Unicode and how to convert characters in a string to their Unicode number and the other way around. After this section, you’ll know how to implement the Caesar cipher, one of the oldest ciphers that exist. To finish this section, you’ll have to crack the code encrypted with Caesar's cipher.
  • Sherlock Holmes: You’ll analyze the text of a novel, “The Hound of the Baskervilles.” You’ll read in the contents of a text file, find out how many unique words there are, count how many times a given character occurs, and finally, check for playful word concepts such as palindromes and semordnilaps.
  • Scrabble: You’ll implement functions that can help you in playing this popular word game. You’ll learn how to list all possible words you can create from given letter tiles, calculate the value of a word, and find words with the greatest number of points.

You can of course do the exercises in any order. However, we recommend completing them as we have arranged them in the course. This way you will have the most fun and learn the most.

This Python practice course is designed for people who have just started with programming and are having trouble finding suitable coding exercises online. We assume that you have learned the basics of Python syntax from our Python Basics series (Python Basics. Part 1, Python Basics. Part 2, Python Basics. Part 3) or have the equivalent knowledge.

You should already know about variables, if statements, for and while loops, basic Python data structures (lists, dictionaries, and sets), how to work with strings, and how to read and write into a file. Ideally, you don’t have much practical experience with programming and would like to practice your coding skills.

This course is interactive. You’ll practice by writing real Python programs and solving exercises in your web browser. Our web-based platform will run your command and verify your solution. You don’t need to install anything on your computer.

What's in It for Me?

  • 25 interactive exercises to practice your programming skills: solve them at your own pace, from anywhere and at any time, interacting with hands-on exercises for improved retention.
  • Lifetime access to the course: when you purchase the course, you'll get instant personal access to all of its content.
  • Certificate of completion: after you successfully finish all of the exercises, you'll get a downloadable PDF certificate to showcase your accomplishment.
  • 30-day, money-back guarantee: if you're not satisfied with the quality of the course, you can get a refund within 30 days of your purchase.
  • Hints for the exercises: you can ask questions and share insights with other members of the community through the Discuss tab (we'll be more than happy to answer! 😉)

What Are the Requirements?

  • Just a web browser.

What Will I Practice in This Course?

  • Create simple Python functions that help solve fun, text-related problems.
  • Use variables in Python and change their values in the program.
  • Make decisions with conditional if statements, use comparison operators, join multiple conditions (with and, or, and not), and create nested if statements to structure program flow.
  • Repeat code multiple times using loops: write for and while loops, use for loops with range() and strings, apply nested loops, and use break and continue instructions.
  • Write functions with and without parameters, define return values, and use default argument values.
  • Practice working with basic Python data structures: lists, dictionaries, and sets.
  • Operate on text files: read files line by line and use the with statement.

Who Should Take This Course?

  • Students taking entry-level programming classes in Python who want to practice their Python skills.
  • Anyone who’s starting to program and wants to practice their programming skills.
  • Anyone interested in starting a software development career and looking for simple coding challenges for beginners.
    Start this course

    Table of contents

    Progress: 0% completed 0 of 27 exercises done

    1. Cipher

    Implement the Caesar cipher in Python.

    More details Less
    Start now

    0% completed 0 of 8 exercises done

    2. Sherlock Holmes

    Investigate the words in "The Hound of the Baskervilles."

    More details Less
    Start now

    0% completed 0 of 8 exercises done

    3. Scrabble

    Learn how to implement functions to play Scrabble in Python.

    More details Less
    Start now

    0% completed 0 of 11 exercises done

    Reviews

    Average rating

    0/50.0 (0)

    Details

    5 Stars 0%
    4 Stars 0%
    3 Stars 0%
    2 Stars 0%
    1 Stars 0%
      Load more reviews

      Comments

      0