Question: What is the output of the following Python code? string = '1 2 3 4' string = string.split(' ') for ch in string[::-1]: print
What is the output of the following Python code? string = '1 2 3 4' string = string.split(' ') for ch in string[::-1]: print (ch, end = ",") ) 4,1,2,,3, b) 4,3,2,,1, c) 4,3,2,1, d) 4,1,2,3, 6.
Step by Step Solution
3.56 Rating (153 Votes )
There are 3 Steps involved in it
The Py... View full answer
Get step-by-step solutions from verified subject matter experts
