+ 2

How many parameters can takes the print function in python?

1st Apr 2019, 3:43 PM
Neeraj kumar
Neeraj kumar - avatar
4 Answers
+ 7
Infinite args for printout, but additionally you have three keyword-only options: 1.) sep - defines by which sign(s) your items will be separated (default: one whitespace). 2.) end - defines the last sign printed (default: '\n'). 3.) file - defines where you print (default: sys.stdout). 4.) flush - empty the buffer. (Only used the first two so far.)
1st Apr 2019, 7:12 PM
HonFu
HonFu - avatar
+ 4
Infinite, it will print as many arguments as you provide it with.
1st Apr 2019, 4:14 PM
giannismach
giannismach - avatar
+ 4
As many as your editor can allow
3rd Apr 2019, 5:36 AM
Dan Rhamba
Dan Rhamba - avatar
0
as many as you can feed it but be careful with what you feed it with
16th Apr 2019, 11:48 AM
Favour Kachi
Favour Kachi - avatar