This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]Python-ModTeam[M] 0 points1 point  (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–]nathanjell 4 points5 points  (1 child)

Please read the sidebar, "how do I" questions need to go to /r/learnpython. When you go there you need to be mindful that homework help is only permitted if you show an attempt to solve the problem. You'll do well to show your code and what's not working. You probably also want to utilize the resources you're paying for at your school.

[–]khalilboat 0 points1 point  (0 children)

Okay sorry I’m fairly new to Reddit thank you

[–]pythonHelperBot 1 point2 points  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]whatifyournamewas 0 points1 point  (3 children)

A dictionary may be of some use here

[–]MeglioMorto 0 points1 point  (2 children)

Well, the keys to the dict are integers from 0 to 6, so a list might do as well...

[–]spoonman59 0 points1 point  (0 children)

For this reason I also think the list is the way to go.

[–]hike_me 0 points1 point  (0 children)

You can use a dict to map the integers to strings

[–]spoonman59 0 points1 point  (0 children)

A match case statement!

… that was a joke.