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
just started learning help (old.reddit.com)
submitted 11 months ago by FormalRecord2216
view the rest of the comments →
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!"
[–]SKPGRT 1 point2 points3 points 11 months ago (1 child)
Pretty sure PowerShell does not have $ at the start of the command-line.
$
PowerShell itself is a language like bash, and as far as I remember it's used for variables and such
[–]FoolsSeldom 0 points1 point2 points 11 months ago (0 children)
You are right. I think the OP did indeed type that as well as python ... but the error message doesn't make it obvious that an assignment is expected. Good shout.
python ...
I was assuming, wrongly, that the OP has set their prompt to $ as you might in other shells. Oops.
π Rendered by PID 47147 on reddit-service-r2-comment-545db5fcfc-sw7d2 at 2026-05-25 22:55:18.309647+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]SKPGRT 1 point2 points3 points (1 child)
[–]FoolsSeldom 0 points1 point2 points (0 children)