Post History
Vyxal s, 5 bytes 2=A[5 Try it Online! You're not the only one who can abuse flags, Shaggy... 2= # Foreach, is it equal to to? A[ # If all are 2 5 # Push a 5. # (s flag) sum...
Answer
#1: Initial revision
# [Vyxal](https://github.com/Vyxal/Vyxal) `s`, 5 bytes ``` 2=A[5 ``` [Try it Online!](https://lyxal.pythonanywhere.com?flags=s&code=2%3DA%5B5&inputs=%5B2%2C2%5D&header=&footer=) You're not the only one who can abuse flags, Shaggy... ``` 2= # Foreach, is it equal to to? A[ # If all are 2 5 # Push a 5. # (s flag) sum of top of stack. If 5, then 5 is outputted, else a+b is outputted. ```