#π Beginner Projects
9 messages Β· Page 1 of 1 (latest)
@thorn cobalt
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
The only way to know is to try! I really recommend small games as good mini beginner projects
tysm!
small games? idk which ones but i will try to figure out smth on YouTube
Simple text based games like rock paper scissors or hangman are good first ones to try
If youβre currently learninga dictionary
You can practice this:
Write a program to count character frequency using two functions:
-
init_counter(): Returns a dictionary of all lowercase alphabet keys mapped to 0.
-
count_chars(data, text): Updates the dictionary by iterating through the input string and incrementing the corresponding keyβs value
Print the final dictionary to verify the results.
NOTE: your input string should have lowercase a-z characters (no numbers, special characters) as your dict will be holding them
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.