M.Sc Python Programming Assignment 10
M.Sc Python Programming Assignments Assignment 10 Question: Write a program (using functions!) that asks the user for a long string containing multiple words. Print back to the user the same string, except with the words in backwards order. E.g “ I am Msc student” is :”student Msc am I” Code: def reverse_words(string): words = string.split() …