2 ms·
And of course, its cousin the slides-to operator, described in the answer https://stackoverflow.com/a/8909176/493553 https://stackoverflow.com/a/8909176/493553
by falcor84 4y ago
And of course, its cousin the slides-to operator, described in the answer
https://stackoverflow.com/a/8909176/493553 https://stackoverflow.com/a/8909176/493553 with the following example:
while (x --\
\
\
\
> 0)
printf("%d ", x);
- DonHopkins 4y agoWhenever somebody complains about how Python uses indentation instead of { } or BEGIN END, you can prove to them that it actually does support that and more, by demonstrating that they simply need to prefix their favorite brackets or keywords with Python's unary "#" operator, like: for i in range(10): #{ print(i) #} or: for i in range(10): #BEGIN print(i) #END You can even mix-and-match them, like: for i in range(10): #BEGIN print(i) #} or: for i in range(10): #{ print(i) #END or turn them inside-out, like: for i in range(10): #} print(i) #{ or: for i in range(10): #END print(i) #BEGIN Python is extremely flexible that way, and can easily strangle and eat all other languages.