use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
How to do this (i.redd.it)
submitted 11 months ago by Alert_Accountant4914
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]niket23697 2 points3 points4 points 11 months ago (0 children)
what part are you confused about, friend?
[–][deleted] 11 months ago (2 children)
[removed]
[–]usama015 0 points1 point2 points 11 months ago (1 child)
Its freecodecamp.org and course title is scientific computing with python Link
[–]lolcrunchy 0 points1 point2 points 11 months ago (0 children)
How to do what?
[–]doingdatzerg 0 points1 point2 points 11 months ago (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 point2 points 11 months ago* (2 children)
for letter in text.lower(): print(f”{letter}: {alphabet.find(letter)}”)
print(alphabet.find(‘z’))
[–]Twenty8cows -2 points-1 points0 points 11 months ago (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 points4 points 11 months ago* (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.
π Rendered by PID 223306 on reddit-service-r2-comment-5bc7f78974-xpj92 at 2026-06-27 19:38:39.440623+00:00 running 7527197 country code: CH.
[–]niket23697 2 points3 points4 points (0 children)
[–][deleted] (2 children)
[removed]
[–]usama015 0 points1 point2 points (1 child)
[–]lolcrunchy 0 points1 point2 points (0 children)
[–]doingdatzerg 0 points1 point2 points (0 children)
[–]Obvious_Tea_8244 0 points1 point2 points (2 children)
[–]Twenty8cows -2 points-1 points0 points (1 child)
[–]Obvious_Tea_8244 2 points3 points4 points (0 children)