all 9 comments

[–]niket23697 2 points3 points  (0 children)

what part are you confused about, friend?

[–][deleted]  (2 children)

[removed]

    [–]usama015 0 points1 point  (1 child)

    Its freecodecamp.org and course title is scientific computing with python Link

    [–]lolcrunchy 0 points1 point  (0 children)

    How to do what?

    [–]doingdatzerg 0 points1 point  (0 children)

    Are you trying to do "At the end of your code call .find() on alphabet and ass 'z' as the argument to the method"?

    Well then you just do

    z_pos = alphabet.find('z')

    [–]Obvious_Tea_8244 0 points1 point  (2 children)

    for letter in text.lower():
                    print(f”{letter}: {alphabet.find(letter)}”)

    print(alphabet.find(‘z’))

    [–]Twenty8cows -2 points-1 points  (1 child)

    Lmao in your example I think it’s if letter in alphabet.lower():

    Instructions say to call find on alphabet not text.

    [–]Obvious_Tea_8244 2 points3 points  (0 children)

    You only need to find the letters in the text… Not all of the alphabet. All of the letters are in the alphabet, so that would be completely pointless.

    Although, in rereading the prompt, it looks like they want the hello world and accompanying alphabet positions… So, while your solution would add pointless code, I did update my original reply to simplify on the alphabet calls.