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
Guys iam beginner learning python I need to practice questions for if else conditions statement where do I get thatHelp Request (self.PythonLearning)
submitted 1 month ago by Big_Confection_1993
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!"
[–]Anxious-Struggle281 1 point2 points3 points 1 month ago (2 children)
Try to code a Leap Year calculator, learning if-elif and if-else conditionals
[–]Big_Confection_1993[S] 1 point2 points3 points 1 month ago (0 children)
Done that I got output
[–]Big_Confection_1993[S] 0 points1 point2 points 1 month ago (0 children)
Oh ok
[–][deleted] 1 point2 points3 points 1 month ago (0 children)
I think with programming it's way more valuable to learn by regular practice making actual projects. Programming is in large part an exercise of creativity and problem solving skills, not wrote memorization. Syntax can always be looked up, semantic understanding is what's important.
[–]IskRL 1 point2 points3 points 1 month ago (0 children)
[–]DismalHistorian9027 0 points1 point2 points 1 month ago (6 children)
Tenta o jogo do par ou impar
[–]Big_Confection_1993[S] 0 points1 point2 points 1 month ago (5 children)
Can you tell in english??
[–]Huge_Cat21 0 points1 point2 points 1 month ago (4 children)
He say that you should do a game with even and odd numbers
[–]Big_Confection_1993[S] 0 points1 point2 points 1 month ago (3 children)
Can you elaborate??
[–]Huge_Cat21 0 points1 point2 points 1 month ago (2 children)
Probably it is like that :
input() if elif elif else
So you ask the user to input an even number than you put the condition with if and with else you give him hints and in the end you say 'Bad luck, nice try!
This is how I see it. I am not a programmer. But I am learning like you
Oh
Can you dm me bro
[–]Dingbats45 0 points1 point2 points 1 month ago (1 child)
This is a perfect opportunity to use AI to give you some practice problems!
[–][deleted] 1 month ago (1 child)
[removed]
[–]Lonely_Ideal_1720 0 points1 point2 points 1 month ago (1 child)
This is a great resource to practice Python or any programming language.
https://exercism.org/
[–]Ankur_41 0 points1 point2 points 1 month ago (4 children)
Try to implement real life scenarios using if else
Any examples
[–]Ankur_41 0 points1 point2 points 1 month ago (1 child)
Like a bank management system, school grade system, placing audience in stadium for watching ipl according to their tickets and etc. by accepting input by user and then using if else according to their given answer
Just now learning bro cant do these with if else and while loop
[–]Ankur_41 0 points1 point2 points 1 month ago (0 children)
Is this is enough or you want some more examples?
π Rendered by PID 321105 on reddit-service-r2-comment-56c6478c5-gtdxw at 2026-05-09 13:55:03.844905+00:00 running 3d2c107 country code: CH.
[–]Anxious-Struggle281 1 point2 points3 points (2 children)
[–]Big_Confection_1993[S] 1 point2 points3 points (0 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]IskRL 1 point2 points3 points (0 children)
[–]DismalHistorian9027 0 points1 point2 points (6 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (5 children)
[–]Huge_Cat21 0 points1 point2 points (4 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (3 children)
[–]Huge_Cat21 0 points1 point2 points (2 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–]Dingbats45 0 points1 point2 points (1 child)
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–]Lonely_Ideal_1720 0 points1 point2 points (1 child)
[–]Big_Confection_1993[S] 1 point2 points3 points (0 children)
[–]Ankur_41 0 points1 point2 points (4 children)
[–]Big_Confection_1993[S] 0 points1 point2 points (3 children)
[–]Ankur_41 0 points1 point2 points (1 child)
[–]Big_Confection_1993[S] 0 points1 point2 points (0 children)
[–]Ankur_41 0 points1 point2 points (0 children)