Python formatted print function is not supported in Mojo #539
-
I have tested some python combability codes in Mojo Notebook and found the formatted print function seems not supported in Mojo. My test code and error output is shown below:from python import Python Error Output: expression failed to parse (no further compiler diagnostics) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@bennylam This is disussed in #398 P.S Please use code block syntax "```" when you want to paste code to reserve the correct format. |
Beta Was this translation helpful? Give feedback.
-
I created a useful konus.py program for calculating the parameters of the trunk and log (volume, weight, price,...), I want to publish an executable file. But konus.mojo cannot be compiled because MOJO does not fully support the syntax of the print () function. I have 2 questions:
To allow print ('Diameter D ='% .1f '% D,' (dm) ')
|
Beta Was this translation helpful? Give feedback.
@bennylam This is disussed in #398
Welcome to join that issue.
P.S Please use code block syntax "```" when you want to paste code to reserve the correct format.