Python Forum
Help solving a task - beginner stuff.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help solving a task - beginner stuff.
#1
Hi there,
I am learning python from scratch, trying to solve a 'task', having some issues.
The task is:

Letter Guess¶
create letter_guess() function that gives user 3 guesses
  • takes a letter character argument for the answer letter
    gets user input for letter guess
    calls check_guess() with answer and guess
    End letter_guess if
    check_guess() equals True, return True
    or after 3 failed attempts, return False

I've tried many different things, but I think I struggle with building the function correctly. I would really appriciate if someone could show me how they would write this correctly so I can learn and apply it for the next tasks.

Thanks in advance!
Reply


Messages In This Thread
Help solving a task - beginner stuff. - by Kristen - Aug-21-2019, 02:50 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020