Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scramble word game
#6
a=(randrange(0,len(scrambled_list)-1))

print(scrambled_list[a])

guess=input("Enter your guess\n")

if guess == answer_list[a]:

try that in place of your scrambled_list and answer_list
Reply


Messages In This Thread
Scramble word game - by Zatoichi - Feb-04-2018, 09:08 PM
RE: Scramble word game - by buran - Feb-04-2018, 09:15 PM
RE: Scramble word game - by Zatoichi - Feb-04-2018, 09:22 PM
RE: Scramble word game - by buran - Feb-04-2018, 09:42 PM
RE: Scramble word game - by Zatoichi - Feb-04-2018, 09:56 PM
RE: Scramble word game - by piday - Feb-05-2018, 02:04 AM
RE: Scramble word game - by Zatoichi - Feb-05-2018, 02:46 AM
RE: Scramble word game - by jefsummers - Sep-13-2021, 08:17 PM
RE: Scramble word game - by jefsummers - Sep-19-2021, 12:30 PM
RE: Scramble word game - by jefsummers - Sep-20-2021, 03:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need some help creating a word game wthiierry 4 2,412 Nov-01-2022, 12:29 PM
Last Post: perfringo
  Word based Game of 21 DatNerdKid 2 76,916 Aug-24-2018, 03:25 PM
Last Post: DuaneJack
  Scramble and Interleave in Python dsaks 5 5,096 Jun-13-2018, 10:10 PM
Last Post: dsaks
  scrabble word game atux_null 4 8,745 Nov-10-2017, 10:00 AM
Last Post: atux_null

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020