MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2ww0w3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
Show parent comments
2
C# supports this as well though the syntax is different.
list[^1]
1 u/juzz_fuzz Aug 26 '20 but how does that allow you to iterate seamlessly from the first element to the last element and vice versa? 1 u/Sarcastinator Aug 27 '20 It's basically the exact same thing so I'm not sure what you expect me to say?
1
but how does that allow you to iterate seamlessly from the first element to the last element and vice versa?
1 u/Sarcastinator Aug 27 '20 It's basically the exact same thing so I'm not sure what you expect me to say?
It's basically the exact same thing so I'm not sure what you expect me to say?
2
u/Sarcastinator Aug 26 '20
C# supports this as well though the syntax is different.