Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with elif?
#4
(Sep-05-2017, 01:03 AM)metulburr Wrote:
    if weapon in spas:
You should be using a while loop at first not a for loop.

How would I change the for to a while loop? I played around with it but sometimes it just gave me errors and other times it loops forever when you input data.
Reply


Messages In This Thread
problem with elif? - by Osires - Sep-05-2017, 12:27 AM
RE: problem with elif? - by metulburr - Sep-05-2017, 01:03 AM
RE: problem with elif? - by Osires - Sep-06-2017, 01:42 AM
RE: problem with elif? - by ichabod801 - Sep-05-2017, 01:05 AM
RE: problem with elif? - by metulburr - Sep-07-2017, 06:42 PM
RE: problem with elif? - by Osires - Sep-09-2017, 06:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Functions and if elif problem Bruizeh 2 3,824 Aug-27-2021, 03:37 AM
Last Post: naughtyCat

Forum Jump:

User Panel Messages

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