#π help this simple issue
47 messages Β· Page 1 of 1 (latest)
@lyric smelt
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.
idk what to do guys
You forgot a +
where, why it showing (") as the problem
idk coding, i started like yesterday
It's a completely valid Python program. Maybe save it and restart IDLE or use a better IDE
it's not, that's what you highlighted
no it isn't
That's not how it works
It is though
i dont understand a word for gods sake π₯Ή
no, they missed a + in the print
!e
name = "Mohamed"
age = "13"
score = 99.3
engineer = False
print("my name is " + name + " and my age is " + age)
:white_check_mark: Your 3.13 eval job has completed with return code 0.
my name is Mohamed and my age is 13
yeah um, just highlight where, have screenshot
you did not copy correctly
in the print, there is one of the +s missing
Oh my bad you are right
ohhhhh
Why is it highlighting in the beginning though π
that is what they have highlighted with their cursor
like I said
the fact it highlighted the (") is misleading
ok
maybe I'm wrong
still no quit python
maybe I ate too much pizza and am in a food coma
dont kick the bucket bro
what does that mean?
perhaps
I was tryna modify my python install to get idle, but no cigar
fast = bad health
bad health = death
see where this is going? srsly i thought yall were genius
?
nvm
ok
That is one of my gripes with python, it often doesnβt give the most useful error spans
!e ```py
a = "hello"
print(a "syntax error")
:x: Your 3.13 eval job has completed with return code 1.
001 | File [35m"/home/main.py"[0m, line [35m2[0m
002 | print(a [1;31m"syntax error"[0m)
003 | [1;31m^^^^^^^^^^^^^^[0m
004 | [1;35mSyntaxError[0m: [35minvalid syntax[0m
yeah if it included the a that would be better maybe
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.