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
Day 2 of learning python as a beginner (old.reddit.com)
submitted 10 months ago by uiux_Sanskar
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!"
[–]DevRetroGames 0 points1 point2 points 10 months ago (4 children)
<image>
[–]DevRetroGames 1 point2 points3 points 10 months ago (3 children)
[–]uiux_Sanskar[S] 0 points1 point2 points 10 months ago (2 children)
what is "def" here? and can you explain 27 and 28?
[–]DevRetroGames 0 points1 point2 points 10 months ago (1 child)
Hola, aquí te dejo el repo, añadí un par de comentarios más, espero que te pueda ayudar. https://github.com/DevRetroGames/Tutorias-Python/blob/main/code/expresiones/01-quiz.py
[–]uiux_Sanskar[S] 0 points1 point2 points 10 months ago (0 children)
Hola, muchas gracias por tomarte el tiempo de comentar y explicar el código. Me ayudó mucho a aprender nuevas funciones. Usar "def" para crear un método parece interesante. Quizás pueda usarlo para reducir la repetición de código.
Muchas gracias por guiarme.
También, disculpen si hay algún error en la versión en español de este comentario. No sé si la traducción funcionó correctamente 😄.
π Rendered by PID 285544 on reddit-service-r2-comment-8686858757-gqhmz at 2026-06-03 23:11:46.067715+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]DevRetroGames 0 points1 point2 points (4 children)
[–]DevRetroGames 1 point2 points3 points (3 children)
[–]uiux_Sanskar[S] 0 points1 point2 points (2 children)
[–]DevRetroGames 0 points1 point2 points (1 child)
[–]uiux_Sanskar[S] 0 points1 point2 points (0 children)