Python Forum
A function that takes a word and a string of forbidden letters
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A function that takes a word and a string of forbidden letters
#2
The loop stops straight away because w is not in 'o' so it returns True.
Reply


Messages In This Thread
RE: A function that takes a word and a string of forbidden letters - by Yoriz - Jun-12-2019, 07:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Searching for parts of a string or word Ulumulu 8 3,795 Mar-15-2021, 07:02 PM
Last Post: Ulumulu
  Homework advice - Boolean function, whole-word values musicjoeyoung 4 3,267 May-07-2020, 06:10 PM
Last Post: musicjoeyoung
  Trying to extract Only the capitol letters from a string of text Jaethan 2 2,188 Feb-27-2020, 11:19 PM
Last Post: Marbelous
  count unique letters in a word sunny_awesome 4 8,744 Jun-06-2019, 07:15 PM
Last Post: kotter
  Counting only letters in a string PraiseYAH 2 4,563 Jul-20-2018, 11:22 AM
Last Post: ichabod801
  Count Letters in a Sentence (without using the Count Function) bhill 3 5,214 Jun-19-2018, 02:52 AM
Last Post: bhill

Forum Jump:

User Panel Messages

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