efine a function named split and reverse(string) which takes a string as a parameter. The string contains values separat
Posted: Mon May 09, 2022 6:12 am
efine a function named split and reverse(string) which takes a string as a parameter. The string contains values separated by a comma. The function splits the sentence into a list of values verses the list and then returns the reversed list. or example: Test Result print(split_and_reverse(', 4.7.4.-5,2,6'>> ['a', '2', '.5', *4', ''.'.', ' print split_and_reverse(cat, the beg, let, out,can')> [can', 'out', 'let', 'hat's the 'cat) LINE