Python Forum
Why does this elif_statement not work?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why does this elif_statement not work?
#3
In line 4 you are not calling the lower method of a string. Instead you are comparing the string "bad" to the lower method. Instead you should use parentheses ( feeling.lower() ), like you did in line 2.
Reply


Messages In This Thread
Why does this elif_statement not work? - by Placebo - Oct-06-2018, 03:00 PM
RE: Why does this elif_statement not work? - by j.crater - Oct-06-2018, 03:06 PM

Forum Jump:

User Panel Messages

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