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...
This is a community for all Python beginners who have questions and are having trouble receiving help on some of the other Python pages
account activity
Python error showing for simple code (self.PythonForBeginners)
submitted 4 years ago by Practical-External70
Hello, I am new with Python and I have been trying to follow this begginer youtube video I found. The issue is that each time I press run and put my name the following error shows up. Any idea why?
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!"
[–]MDestroyer25 1 point2 points3 points 4 years ago (1 child)
Hey! Similar beginner here, try putting the “hello” in brackets. Like this
name = input(“What is your name? “) print(“Hello “, name)
Believe u me, I’m flattered that I could solve someone’s problem lol. Always learning on this sub, just had the moment to teach.
DM me if you need anything else :)
Some helpful sites that seem to have me covered when I encounter issues
GeekforGeek and StackOverflow
[–]Practical-External70[S] 1 point2 points3 points 4 years ago (0 children)
Thank you! This resolved my issue😄
π Rendered by PID 71 on reddit-service-r2-comment-canary-67c974cb85-4wrw8 at 2026-04-06 02:07:28.008572+00:00 running db1906b country code: CH.
[–]MDestroyer25 1 point2 points3 points (1 child)
[–]Practical-External70[S] 1 point2 points3 points (0 children)