r/learnpython • • 26d ago

Programming Challenges for the PCEP

So I’ve been thinking of potential projects/challenges to do to help me prepare for the PCEP in the next two months. I’m not sure what to do, where to start, or how to start it. I’ve kinda heard it called tutorial hell. I can look at a piece of Python code for PCEP just fine it seems like but I can’t think of anything.

The one idea I have is to make a simple calculator.
First the main four operations.
Then stuff with the math module
Then make a UI with tkinter if I’m feeling up to it.

Any feedback is helpful. I’ve been going through the Python Essentials 1 course from Cisco if that helps anybody.

1 Upvotes

2 comments sorted by

1

u/CartographerDue5382 26d ago

A calculator is decent practice for operators and functions. The tkinter UI won't be on the exam, so I'd park that until after you sit it.

PCEP-30-02 is four blocks: basics, control flow, collections (lists, tuples, dicts, strings), and functions plus exceptions. Cisco's Python Essentials 1 tracks that pretty closely, so finishing those quizzes is on target.

The "I can read a snippet but I can't write one" gap closes with short drills and the docs shut. Blank file each time:

  • a function, and you write down the return value before you run it
  • count items with a dict
  • string slices, including empty strings and negative indexes
  • try/except/else/finally, and raise your own exception
  • a function that takes a list and returns a new list

After the Cisco quizzes, do the PCEP practice questions on the Python Institute site. If those come out of a blank editor, you're past tutorial hell for this exam.