Skip to content

Mojo is given extra commands for no reason. #2

Open
@comods

Description

@comods

In just example 1:

Mojo is given an extra unneeded line: from python import Python
Mojo is given an extra unneeded line: py = Python.import_module("builtins")
Mojo is given an extra unneeded line:

    print("Length of the last word:")
    print(count)

while python is benchmarked with only 1 print (which works exactly the same in mojo):

    print("Length of the last word:", count)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions