0

print("total no. of chances 9") no_chances= 9 l_chances=9 n=int(input("guess the number")) while (l_chances==0): if n>16 :

Pls find the error

16th May 2020, 5:11 PM
Shubham Sharma
Shubham Sharma - avatar
1 Antwort
0
Missing code part. Post code in description or share link.. Don't write it in question.. Anyways, upto that l_chances assigned to 9 In while condition is while l_chances == 0 : so it never true... May be you mean l_chances >0..
16th May 2020, 5:25 PM
Jayakrishna 🇮🇳