Task-2:
WAP to take word input from user and display the input in jumbled form eg.
I
Input - game
Output - agme
Answers
Answered by
2
from random import shuffle
letters = [l for l in input("enter a word: ")]
shuffle(letters)
print("".join(letters))
Answered by
1
from random import shuffle
letters = [l for l in input("enter a word: ")]
shuffle(letters)
print("".join(letters))
Similar questions
Geography,
2 months ago
Math,
2 months ago
Math,
2 months ago
Business Studies,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago
Art,
11 months ago