jeudi 21 avril 2022

Rearrange all the characters from the input string randomly [duplicate]

import random

word = input("Type in a word: ")

What I want to do is to rearrange all the characters from the input randomly and then print out the result or store it in a string. How do I accomplish this?




Aucun commentaire:

Enregistrer un commentaire