Oct-14-2019, 07:23 PM
okay, i have removed the "i==1" and also i thought i stopped the endless beer using the last else clause
i = 10 while i > 0: if i == 6: print("sixpack") else print("beer") else i < 1 print ("no beer")