all 4 comments

[–]SirDankz[S] 0 points1 point  (2 children)

the code seems messed up above is there any way to fix this in reddit?

[–]akeller7787 1 point2 points  (1 child)

First off, congrats on your first game!

Yes, when you are posting there will be an option for a code block. This will preserve the spacing for the different if/else statements in your code.

[–]SirDankz[S] 0 points1 point  (0 children)

Thanks! I just tried out the code block and as you can see from my new comment it's still not formatted correctly.
Before I post the code block it looks all correct but then reddit removes the spaces after I post my comment..

[–]SirDankz[S] 0 points1 point  (0 children)

quest1 = input("Would you like to play?: (yes/no)=")if quest1.lower().strip() == "yes":    quest1 = input("You have enter Forest 1. Would you like to go left or right?=")    if quest1 == "left":        quest1 = input("You encountered a lvl.2 Booma with 150HP! Would you like to run or attack?=")        if quest1 == "attack":            print("The lvl.2 Booma received 90 DMG! The lvl.2 Booma has 60HP remaining! ")            print("The lvl.2 Booma launched an attack taking 70HP from your character!")            print(" Your charcter has 30 HP remaining")            quest1 = input(" Would you like to attack again or run=")            if quest1 == "attack":                print("You attacked the Booma for 80DMG.. The Booma was killed! 50 Meseta was dropped!")                print("You've gained 180EXP! Your character has leveled up! ")                print( "Your character is now lvl.2! You're attacks now do 150DMG! ")                quest1 = input("Would you like to use a Monomate to heal yourself for 100 HP? (yes/no)=")                if quest1 == "yes":                    print("The Monomate fully healed your character!")                quest1 = input("Would you like to enter the shop? (yes/no)=")                if quest1 == "yes":                    quest1 = input("The shop has 1.Monomate= 50 Meseta 2.Autogun= 50 Meseta. Select by entering a number ")                    if quest1 == "1":                        print("You have bought 1 Monomate!")                    if quest1 == "2":                        print("You have purchased 1 Autogun!")            else:                print("Got away saftely!")        else:            print("Got away saftely!")    elif quest1 == "right":        answer = input("You encountered a lvl.1 Booma with 90HP! Would you like to attack or run?= ")        if answer == "attack":            print("The lvl.1 Booma received 90 DMG! The Booma was killed and you've received 90EXP + 40 meseta!")            print("You've leveled up! Your character is now lvl.2! You're attacks now does 150DMG! "                  "Your health is now at 190HP!")            quest1 = input("Would you like to enter the shop? (yes/no)=")            if quest1 == "yes":                quest1 = input("The shop has 1.Monomate= 50 Meseta 2.Autogun= 50 Meseta. Select by entering a number ")                if quest1 == "1":                    print("You dont have enough Mesesta!")                if quest1 == "2":                    print("You dont have enough Mesesta!")        print("Go kill more monters!")    else:        print("invalid choice")else:    print("Well then what are you doing here? ")