Question: Question 9: Write the output of the following python code #!/usr/bin/python str = Line1-a b c d e f Line2- a b c Line4- a

Question 9: Write the output of the following python code #!/usr/bin/python str = "Line1-a b c d e f Line2- a b c Line4- a b c d; print str.splitlines(); print str.splitlines(O); print str.splitlines(3); print str.splitlines(4); print str.splitlines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
