Python Forum
Login with using class
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Login with using class
#5
few lines need to recheck...
if key in inventory.items(): is always false, so your code will never execute the print "found",value,"similar items" statement.

nothing is wrong withelif message3 in key: but i prefer elif message3 == key: depend on how we view the code
swallow osama bin laden
Reply


Messages In This Thread
Login with using class - by captainflint - Feb-02-2018, 05:28 PM
RE: Login with using class - by ka06059 - Feb-03-2018, 06:12 AM
RE: Login with using class - by captainflint - Feb-03-2018, 01:01 PM
RE: Login with using class - by Gribouillis - Feb-03-2018, 06:58 AM
RE: Login with using class - by ka06059 - Feb-03-2018, 03:13 PM

Forum Jump:

User Panel Messages

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