bython
bython copied to clipboard
No support for oneliner???
Can't do oneliner???? What's the point of using this 0/10
How to reproduce:
def print_message(num_of_times) { for i in range(num_of_times) {print("Bython is awesome!"); }}
print_message(10);
Error message:
def print_message(num_of_times):for i in range(num_of_times):print("Bython is awesome!");
^^^
SyntaxError: invalid syntax
Instead it should:
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Kinda self-advertising, but if you are still interested: https://github.com/solaluset/yabi