I've started learning python a couple days ago and I'm trying to make a project that I find funny, a weed selling script thingy. (pls dont think im actually trying to use ts to sell or wtv lol) It works for the most part, but once I get to the end I want it to confirm the order and repeat the questions if its wrong. However I've created an infinite while loop and Idk how to get it to stop. I just want it to confirm the order, but when I enter "yes" to confirm it simply repeats the loop. I've tried changing things up like putting the second if statement inside the loop but that doesn't work either.
idk i just want the loop to go until the user says the order is correct
This is the full code.
import sys strain = input("What is your favorite mary jane strain? ") weight = input("How many gs do you want? ") time = input("When do you want it? ") confirmation = "yes" print() print(f'You want {weight}gs of {strain} at {time}?') confirmation += input("Is the above order correct?…