Ask coding questions

← Back to all posts
I dont know how this works
AnnieRoxenius (0)

Please help me. I dont understand anything. Thank you.

lsambrook (284)

What don't you understand ? Have you even started coding ?


I don’t even understand what you don’t understand. Are you trying to use if else statements? I mean, you told it to do the math and it did it but I don’t understand that language and it looks like you want it to so if x * y -z =a then say this (blah blah).

ash15khng (209)

I'm not sure what this means, but I'll try to explain some things?
print() is a function, which can output the text inside into the console.
However when interpreting stuff like 12 - 7, Python calculates it and prints 5.
When printing the sentences, the "" make the sentences strings, and if you don't use them, Python interprets everything as variables, which don't exist, so the code crashes. Try it!

I'm sorry if this didn't help but I tried my best lol

ryanhcode (84)

Hey! Could you go into a little more detail on what you need help with?