print won't print without an argument
See original GitHub issueprint() # prints newline in python, nothing in kuroko
print("") # prints in both
# also...
print("hello", end=" ")
print(end="world") # this only works in python
print()
print("hello", end=" ")
print("", end="world") # this works in both
the case with print(end="blah")
not printing anything had me especially confused when I was porting a script, as I have a (bad?) habit of using that form.
this is with Kuroko 1.2.3 (commit 650f324) and a tiny patch to build with MSYS2 (MSYSTEM=MSYS
).
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Python Print Without Arguments - Finxter
Print Without Arguments ... You can ´use Python's print() function without arguments: In that case, Python will print an empty new line to...
Read more >System.out.println doesn't print a line with no parameters?
I'm a little confused and I think I'm missing something. How come the output of the for loop in this code is 46810?...
Read more >Python: How to Print Without Newline? - STechies
To print without a newline, all you have to do is add an additional argument at the end of your print statement. This...
Read more >Your Guide to the Python print() Function
You saw print() called without any arguments to produce a blank line and then called with a single argument to display either a...
Read more >Python Print Without Newline [SOLVED] - freeCodeCamp
How to Print Without a Newline in Python ... As you can see the function takes five arguments in total. The first one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Let’s do a separate issue for each function.
Closing as fixed in 21b459919b98c084a9ab44da4ebc6ad99d6e09dd