← 输入框|github.com|刷新
Skip to content

Implement the end keyword argument in lpython print - #2

Open
faze-geek wants to merge 1 commit into
mainfrom
tryout1
Open

faze-geek wants to merge 1 commit into
mainfrom
tryout1

Conversation

@faze-geek

@faze-geek faze-geek commented Jun 28, 2022 •

Copy link
Copy Markdown
Owner

Comparing various print outputs.

def main():
    print("a","b","c",sep = "===", end ="+")
    print("100")
    print("d","e","f",sep = "++")
    print("200",end = "!\n")
    print("x","y","z",end ="+++\n++" , sep = "!\n*&")

main()


(lp) anurag-3:lpython user$ python try.py

a===b===c+100
d++e++f
200!
x!
*&y!
*&z+++
++(lp) anurag-3:lpython user$ ./src/bin/lpython try.py && ./a.out 

a===b===c+100
d++e++f
200!
x!
*&y!
*&z+++
++(lp) anurag-3:lpython user$ 

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 this pull request may close these issues.

1 participant