Python Programming: The Word Jumble Game

preview_player
Показать описание
A basic game in which the user guesses a jumbled up word.
Рекомендации по теме
Комментарии
Автор

Hi,
I am very new to programming and I have a couple of questions. Anyone please answer if you do not mind.
1. Why 'jumble' the word in a while loop (while word) - what purpose does the while loop have, and why couldn't you remove it?
2. Can you explain what is happening inside of that while loop, and how it jumbles the word? To be more specific, what does random.randrange(len(word)) do? And why +=, and what is happening in the line following that?

Thank you so much

kerriemassetti
Автор

Can you add some background music it gets a little quiet

SarREdits
welcome to shbcf.ru