May-14-2018, 12:13 AM
Hi
Apologies, The error is unable to use the str( s1[0:4]) in the print even though I have correct parentheses. Output I need is “ s1 is today is sunny day”. I have tried to use another method by assign a variable to contain the split of s1[0:2] and concatenation them in print with “s1 is” but unable to work too.
Appreciate for suggestions. Thanks!
Apologies, The error is unable to use the str( s1[0:4]) in the print even though I have correct parentheses. Output I need is “ s1 is today is sunny day”. I have tried to use another method by assign a variable to contain the split of s1[0:2] and concatenation them in print with “s1 is” but unable to work too.
Appreciate for suggestions. Thanks!