#πŸ”’ Beginner Projects

9 messages Β· Page 1 of 1 (latest)

thorn cobalt
#

Sup yall, I've been following Asabeneh's 30 Days of Python Github repo, and am currently on Day 8: Dicts. No problem there. But, I don't know if I can actually put my skills to the test by building actual mini projects. Any ideas what I can do or where I can find stuff? DM me to LMK πŸ™πŸΌ.

frozen obsidianBOT
#

@thorn cobalt

Python help channel opened

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.

timid junco
thorn cobalt
timid junco
pseudo anchor
#

If you’re currently learninga dictionary
You can practice this:
Write a program to count character frequency using two functions:

  1. init_counter(): Returns a dictionary of all lowercase alphabet keys mapped to 0.

  2. 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

frozen obsidianBOT
#
Python help channel closed for inactivity

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.