Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if-elif-else coding help
#7
(Oct-29-2018, 10:18 PM)esyfilamaj Wrote: d. Otherwise, do the following:
i. print a statement: ‘<myint> is a valid non-alphabetic str.’

Based on the context, I believe that's a typo, and should be mystr, to match with the variable you previously created. It makes sense with what came before, and what follows afterward. Plus, saying "some-int is valid non-alphabetic str" is weird, and doesn't make sense.
Reply


Messages In This Thread
if-elif-else coding help - by esyfilamaj - Oct-29-2018, 10:18 PM
RE: if-elif-else coding help - by ichabod801 - Oct-30-2018, 01:20 AM
RE: if-elif-else coding help - by esyfilamaj - Oct-30-2018, 01:26 AM
RE: if-elif-else coding help - by ichabod801 - Oct-30-2018, 02:31 AM
RE: if-elif-else coding help - by nilamo - Oct-30-2018, 03:00 AM
RE: if-elif-else coding help - by esyfilamaj - Oct-30-2018, 10:13 PM
RE: if-elif-else coding help - by nilamo - Oct-30-2018, 11:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python coding mutiple elif's metro17 1 1,813 Aug-02-2019, 10:27 AM
Last Post: metulburr
  Whats the right way to refactor this Big if/elif/elif ? pitosalas 1 2,276 Jul-28-2019, 05:52 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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