Question: python command a) Based on the given Python code below data = Time 2019-03-13 11:49:27, User Fahim, Access Guest write the correct Python scripts to

python command
a) Based on the given Python code below data = "Time 2019-03-13 11:49:27, User Fahim, Access Guest" write the correct Python scripts to produce the following desired output. i) Count how many whitespaces are in the string. ii) Split the string data using comma as a delimiter. iii) Print the string in a) ii) that contains the username. iv) Replace the string 'Guest' to 'Moderator'. v) Pri the year in data
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
