Title: Bug: Printing multiple strings together does not add a space between them · Issue #2669 · lcompilers/lpython · GitHub
Open Graph Title: Bug: Printing multiple strings together does not add a space between them · Issue #2669 · lcompilers/lpython
X Title: Bug: Printing multiple strings together does not add a space between them · Issue #2669 · lcompilers/lpython
Description: 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 ...
Open Graph Description: 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/lpyt...
X Description: print("a", "b", "c", "d") fruits: list[str] = ["apple", "guava", "mango"] mango: str = fruits.pop() print("I have got a&qu...
Opengraph URL: https://github.com/lcompilers/lpython/issues/2669
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: Printing multiple strings together does not add a space between them","articleBody":"```python\r\nprint(\"a\", \"b\", \"c\", \"d\")\r\n\r\nfruits: list[str] = [\"apple\", \"guava\", \"mango\"]\r\nmango: str = fruits.pop()\r\nprint(\"I have got a\", mango, \"to eat!\")\r\n```\r\n\r\n### CPython\r\n```console\r\n(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ python ./examples/example.py\r\na b c d\r\nI have got a mango to eat!\r\n```\r\n\r\n### LPython\r\n```console\r\n(base) saurabh-kumar@Awadh:~/Projects/System/lpython$ ./src/bin/lpython ./examples/example.py\r\nabcd\r\nI have got amangoto eat!\r\n```","author":{"url":"https://github.com/kmr-srbh","@type":"Person","name":"kmr-srbh"},"datePublished":"2024-04-26T12:26:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2669/lpython/issues/2669"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:328dbed9-d241-5cd8-7ad2-3738683c6940 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB30:87E17:15912BF:1CC6CAD:696ADEC7 |
| html-safe-nonce | db089204d2fcfdf963a70cf28dc32b3922613886351132010eaa7eb84bcae929 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjMwOjg3RTE3OjE1OTEyQkY6MUNDNkNBRDo2OTZBREVDNyIsInZpc2l0b3JfaWQiOiI3NjUzMDAxNzAzMDc3ODk1ODc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a66b3a64f6672d75ac4cf74ba66912a28256119fb41343d110964d0a4a435f4f |
| hovercard-subject-tag | issue:2265679400 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lcompilers/lpython/2669/issue_layout |
| twitter:image | https://opengraph.githubassets.com/865517f5b077ac8a2f986fb2e1123c6f4d1d4ceeb0858d8444f5d8e306c31f65/lcompilers/lpython/issues/2669 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/865517f5b077ac8a2f986fb2e1123c6f4d1d4ceeb0858d8444f5d8e306c31f65/lcompilers/lpython/issues/2669 |
| og:image:alt | 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/lpyt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kmr-srbh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/lcompilers/lpython git https://github.com/lcompilers/lpython.git |
| octolytics-dimension-user_id | 96538276 |
| octolytics-dimension-user_login | lcompilers |
| octolytics-dimension-repository_id | 442864346 |
| octolytics-dimension-repository_nwo | lcompilers/lpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 442864346 |
| octolytics-dimension-repository_network_root_nwo | lcompilers/lpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width