Question: Write a function that takes a sentence as input and returns it scrambled (the order of the words mixed up in some way). For example,
Write a function that takes a sentence as input and returns it scrambled (the order of the words mixed up in some way). For example, if it is passed “Does anything rhyme with orange?” it might return “Orange with does anything rhyme?”.
Step by Step Solution
3.45 Rating (177 Votes )
There are 3 Steps involved in it
import random def scramblesource mark source1 source source ... View full answer
Get step-by-step solutions from verified subject matter experts
