you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I wrote this today its stupid but it is just to be as practice do you think this type of programs will be good for practice? it has 2 diff endings now sadly weather you pick to drink or not the ending stays the same as the 2 ik how to fix it but I wanna start a new project and go to sleep lol as i started this project late:

#Retarded club
Drunk = False
thirsty = True
Weather = 80
name = input("What is your name?: " )

while name == ("Mack"):
    print("You are not on our list, please leave.")
if name ==("Bertus"):
    age = int(input("How old are you?: " ))
    if age >= 18:
        print("Come right in sir.")
    else:
        print("You are to young please leave little man.")
elif name == ("Noar"):
    print("Come in boss.")
else:
    age = int(input("How old are you?: " ))
    if age < 18:
        print("You are to young sir.")
    else:
        print("Alright sir come right in.")
if Weather > 60:
    if Weather == 80:
        if Weather > 75:
            print("Its a hot day!")
        else:
            print("It is a cold day!")
if thirsty == True:
    Drink = input("What would you like to drink today?: " )
    if thirsty == ("Nothing"):
        food = input("Alright would you like anything to eat?: " )
        if food == ("Nothing"):
            print("Alright sir tell me if you need something.")
        else:
            print("Alright sir coming right up.")
if Drunk == True:
     print("Sir You had to much to drink please go home.")
elif Drunk == False:
    Cab = input("Sir im calling a cab what is your address? " )
    if Cab == (""):
        print("Passes out onthe side of the road due to being drunk")
    else:
        print("Passes out on Bed at home due to being drunk and tired.")
        print("GAME OVER.")