Hi guys, I'm new to this website so if I made some mistake please forgive. :)
I just want to learn more about Python , I'm new to Python and i'm trying to improve.
Here is my work (took some help from Daniweb) i just want to ask that how can i change the guessing turn (0,17) base on the player want to.
Below this i only know how to insert 1 number of guessing ( Ex : 6)
import random print ("Welcome to my game !") l= input("Please enter the level you want to play (1:easy,2:hard): ") l=int(l) r= input("How many rounds do you want to play? (even number only) ") r=int(r) print (" You only get 6 turns to guess the letter") print ("Player 1's turn to play the game") guess = 6 letter_g= () while guess !=0: letter = input('Guess a letter (a-z): ') if letter in letter_g: print('Please enter another letter') else: guess = guess - 1
Please help me and sorry for my poor english :sweat:
I'm use Python v.3
Edited 4 Years Ago by Kitty17: n/a