Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Printing multiple strings together does not add a space between them #2669

Open
kmr-srbh opened this issue Apr 26, 2024 · 0 comments · May be fixed by #2670
Open

Bug: Printing multiple strings together does not add a space between them #2669

kmr-srbh opened this issue Apr 26, 2024 · 0 comments · May be fixed by #2670

Comments

@kmr-srbh
Copy link
Contributor

print("a", "b", "c", "d")

fruits: list[str] = ["apple", "guava", "mango"]
mango: str = fruits.pop()
print("I have got a", mango, "to eat!")

CPython

(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ python ./examples/example.py
a b c d
I have got a mango to eat!

LPython

(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ ./src/bin/lpython ./examples/example.py
abcd
I have got amangoto eat!
@kmr-srbh kmr-srbh linked a pull request Apr 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant