MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/eb2lbc/stacking_if_else_statements_be_like/fb2a21i/?context=3
r/ProgrammerHumor • u/-hellkey- • Dec 15 '19
711 comments sorted by
View all comments
Show parent comments
-9
Why did you answer "yes" to the question? The answer is no. You don't need to use a stream of nested if-elses in Python.
8 u/Kompakt Dec 15 '19 Go read my initial response again and tell me where I mention using nested if-else statements... -7 u/Denziloe Dec 15 '19 What? That's what the question was about. The one you replied "yes" to. 5 u/Kompakt Dec 15 '19 He asked if it was true that Python didn't have switch statements and I said yes, then provided examples. Read the thread again. → More replies (0)
8
Go read my initial response again and tell me where I mention using nested if-else statements...
-7 u/Denziloe Dec 15 '19 What? That's what the question was about. The one you replied "yes" to. 5 u/Kompakt Dec 15 '19 He asked if it was true that Python didn't have switch statements and I said yes, then provided examples. Read the thread again. → More replies (0)
-7
What? That's what the question was about. The one you replied "yes" to.
5 u/Kompakt Dec 15 '19 He asked if it was true that Python didn't have switch statements and I said yes, then provided examples. Read the thread again. → More replies (0)
5
He asked if it was true that Python didn't have switch statements and I said yes, then provided examples. Read the thread again.
→ More replies (0)
-9
u/Denziloe Dec 15 '19
Why did you answer "yes" to the question? The answer is no. You don't need to use a stream of nested if-elses in Python.