Ask coding questions

← Back to all posts
Code won't run back up
BrockTempler (0)

Hello, I wan't my code to run back up if none of the above are entered so if nothing above line 34 is entered into user then it runs back up repeating question. And thenn my next problem is adding up everything in list total it was gonna add into it originally the second it was entered but it was having problems. Hope you can help.

Comments
hotnewtop
InvisibleOne (2979)

Your code is pretty messed up, It will probably be easier if I just fork you code and fix it and then give you the result.

BrockTempler (0)

i was doing elif statement and tried alot of other things just wasn't working out i don't have any errors JUst not working WAY I WANT! you can fork if you want you should be able too if not. herehttps://replit.com/join/[email protected]

BrockTempler (0)

This is actually an asssignment duo soon with the eassiest code I have ever used and i'm still managing to screw this up lol.[email protected]

InvisibleOne (2979)

Here: https://replit.com/@InvisibleOne/finaall#main.py
And let me know if I changed anything you didn't want to be changed.

BrockTempler (0)

never been more excieted to click a [email protected]

BrockTempler (0)

You really know how to make someone feel dumb.😔@InvisibleOne

BrockTempler (0)

I don't know why but the code feels almost like I can't change anyhing I copied and pasted into my original cause it seemed to work and it did but I started to add stuff for example i did import os right under def menu() and it said unindnet even tho it had same indent as one directley under (global total) and others things similar to that i had problems [email protected]

InvisibleOne (2979)

That's probably because I used tabs for indent and you used spaces, that's my bad, they either all need to be tabs or all spaces.
And you aren't dumb, I've just been doing python for a while now and it comes easily, after you've been doing python for almost a year, I'm sure that you'll be just as good as me, if not better. @BrockTempler

BrockTempler (0)

Thanks for the help and encourgement after I finsih learning python or all of the basics where should I go to learn html?Also is there a way to follow people on [email protected]