Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with this code
#3
print ("password lenght")
l = input()
if (l==1):
    for i in range (256):
        print (i)
when i put the number 1 it just prints 1 and not the whole list.
What's wrong here?
Reply


Messages In This Thread
Help with this code - by skriff - Aug-21-2017, 12:51 PM
RE: Help with this code - by ichabod801 - Aug-21-2017, 01:00 PM
RE: Help with this code - by skriff - Aug-21-2017, 01:24 PM
RE: Help with this code - by wavic - Aug-21-2017, 02:01 PM
RE: Help with this code - by ichabod801 - Aug-21-2017, 02:19 PM
RE: Help with this code - by Larz60+ - Aug-21-2017, 02:31 PM
RE: Help with this code - by skriff - Aug-21-2017, 04:12 PM
RE: Help with this code - by wavic - Aug-21-2017, 09:34 PM

Forum Jump:

User Panel Messages

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