Joshua Duncan
@DUN0040
I normally use the name TYREDSAUCE, but I felt like being a bit different with Repl.It.
https://repl.it/@DUN0040/Download-Complete
In the program TID.py, it says there is an invalid syntax for an elif. I don't understand what it means.
I
https://repl.it/@DUN0040/A-Basic-Bitlife
It says on line 38 at the last bracket that it is an invalid syntax where it isn't unless I am forgetting som
JustARatherRidi The problem in line 38 is that you haven't put a colon after the condition in your while loop. And after the colon, you should also indent all the code you want to be inside the loop.
However, there are actually quite a few other things wrong with the code.
First off, you don't write int(5), you just write 5. Saying int(5) means you're passing 5 (which is already an int) to int which gives you back the same 5 you put in. As you can see, that doesn't make much sense.
At line 195, you say from 4 years ago
def start(name):
while True:
cmd = input(name+"#local.mail> ")
if cmd == "exit" or cmd == "e":
("Exited mail")
break
elif cm
PYer It would be easier if you listed the repl, and said your problem instead of I think it's in here but I'm not sure.4 years ago
https://repl.it/@DUN0040/A-Basic-Bitlife
There are some things that I was unable to do such as changing variables so if you can help by doing it for m