Oct-14-2019, 07:06 PM
Thanks for your reply and this what i came up with after trying to improve and i didn't understand what you meant by "Take your while and make is <=10" bit
i = 10 while i > 0: if i == 6: print("sixpack") else i == 1: print("beer") else i < 1 print ("no beer")