Skip to content

No support for oneliner??? #61

Description

@MorganTL

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions