#๐Ÿ”’ Snake Game w/ Modification

38 messages ยท Page 1 of 1 (latest)

heady galleonBOT
#

@lone aspen

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.

quaint lotus
#

!paste

heady galleonBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

quaint lotus
#

!code

heady galleonBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

quaint lotus
#

also maybe put pygame or whatever module u use in the title if its relevant

#

and explain what error u have what happens and what u want to happen

lone aspen
#

i am unable to use pygame module

quaint lotus
#

what error u get?

lone aspen
#

i should just use random, turtle, time, functools.

lone aspen
quaint lotus
#

!paste

heady galleonBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

lone aspen
#

wait i am trying to paste my current code

#

i am new here, sorry if i am taking time

quaint lotus
#

np i can wait an hour (of inactivity) but after that the thread automatically closes so i hope it dosent take that long

lone aspen
#

actually there are so many modifications that i need to do T T

neon sinew
#

what help do you need mister

quaint lotus
#

u managed to un indent a few things the code u sent dosent work

lone aspen
#

what

#

wait

#

it works in me

quaint lotus
#

please repaste

lone aspen
#

oh

#

okay

quaint lotus
#
# assigning key directions
def group():
 if head.direction != "down":
 head.direction = "up"

the indentation is still screwd look at this exapmle

lone aspen
#

oomg

#

apparently, it changed by itself

#

i can't change it, when i pasted it, the indentation got messed up by itself

#

!paste

#

is it always like this?

quaint lotus
heady galleonBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.