Guess the number game
import random guesstaken=0 print('what is your name') myname=input() number=random.randint(1,20) print('well !',myname,'i am thinking a number between 1 and 20') print('guess the number') for guesstaken in range(6): guess=int(input()) if guesstaken not in range(0,20): print('No! :(',myname,'please guess a number between 0 and 20 :)') #if guesstaken>number: print('Hey!',myname,'your number is too high please take another chance') #if guesstaken<number: print('Hey!',myname,'your number is too low please take another chance') if guesstaken==number: break print('wow !',myname,'you win :)') This is my first game code and i am learning how to code any game through python and this code run but when I enter a number greater than the number which is given in 'random.randint(0,20)' it show your number is too low take another chance but i want to my game show the statement ' please guess the number between 0,20' help🙏🙏🙏