Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python elementary problem
#6
maybe you mean

for words in x:
    if words.isnumeric:
        print(words)
    else:
        print(0)
Reply


Messages In This Thread
Python elementary problem - by saratha - Nov-04-2020, 04:22 PM
RE: Python elementary problem - by Axel_Erfurt - Nov-04-2020, 04:24 PM
RE: Python elementary problem - by saratha - Nov-04-2020, 05:27 PM
RE: Python elementary problem - by deanhystad - Nov-04-2020, 05:07 PM
RE: Python elementary problem - by jefsummers - Nov-04-2020, 07:03 PM
RE: Python elementary problem - by Axel_Erfurt - Nov-04-2020, 07:28 PM

Forum Jump:

User Panel Messages

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