Find a Letter in a String (Exercise)
00:00
Your next exercise is called Find a Letter in a String. Here you should write a program that accepts user input with the input()
function and displays the result of trying to find a particular letter in that input string using .find()
. Which letter isn’t defined here.
00:16 So it seems like this is going to be another input, probably from the user, or maybe it’s just not a very good description anyway, so I’m going to add to this description that the user should be able to input both the word or the sentence, and then also what letter to search for in this sentence.
00:35 Okay. Give it a try and then move on to the next lesson.
Become a Member to join the conversation.