#๐Ÿ”’ simple syntaxe error i need help with

32 messages ยท Page 1 of 1 (latest)

granite roseBOT
#

@frosty glacier

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.

pure hemlock
#

We don't really use semicolons in python

frosty glacier
pure hemlock
#

what SyntaxError message do you get?

#

It often tells you what it expected

frosty glacier
#

this but it doesnt tell me

#

it say unexpected

balmy lark
#

You're using 2 parameters with range(). Separate them with a comma.

frosty glacier
#

invalid syntaxe i mean

#

thx it work now

#

last question

#

when i run the algorithm it gives me this

#

and like its not a error or something like that but is it normal that it looks that way ?

#

like it looks so weird have i done something wrong in my configuration ?

#

or is it normal ?

pure hemlock
#

What output did you expect?

frosty glacier
#

like is that normal cuz it look weird ?

pure hemlock
#

You mean the prompt?

#

You need that to know where to type your commands

frosty glacier
#

like is it normal ?

#

like it telling me where the file is located all the time ?

pure hemlock
#

Like you're running this in vscode?

frosty glacier
#

yea

#

im not saying its bad im just asking if its normal or if i missed smth in my config k

#

yk *

pure hemlock
#

Yeah it's normal

frosty glacier
granite roseBOT
#
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.

#

๐Ÿ”’ simple syntaxe error i need help with