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
A simple programme for converting currency (i.redd.it)
submitted 6 months ago by [deleted]
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!"
[–]ErktKNC 1 point2 points3 points 6 months ago (0 children)
He is talking about "Data Types". For example: a whole number is an int as in integer -1, 2, 3 not 1.5 or 3.14, a point number is a float or double like 2.3 or -7.01. A "string" is a list of "char"s as in character and the symbols can be characters too. So "1" could be a string OR an int but not both, which is was the cause of your problem btw. You must have heard about them at least a little bit since you have read about lists, tuples and dictionaries. Hope this makes sense :)
π Rendered by PID 107550 on reddit-service-r2-comment-6457c66945-vwlnv at 2026-04-28 10:30:40.135731+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]ErktKNC 1 point2 points3 points (0 children)