Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Array for numbers
#2
str.split gives you a list of strs. You need to convert the strs to ints explicitly.

By the way, in case you're young and not thinking about this, the username you've chosen is unlikely to do you good and may do you harm. Something to think about, perhaps.
Reply


Messages In This Thread
Check Array for numbers - by GloryHoleLover - Feb-28-2020, 12:10 AM
RE: Check Array for numbers - by micseydel - Feb-28-2020, 12:47 AM
RE: Check Array for numbers - by GloryHoleLover - Feb-29-2020, 09:37 PM
RE: Check Array for numbers - by micseydel - Feb-29-2020, 10:00 PM
RE: Check Array for numbers - by Pranav - Mar-01-2020, 04:21 AM
RE: Check Array for numbers - by ndc85430 - Mar-01-2020, 06:45 PM
RE: Check Array for numbers - by Pranav - Mar-02-2020, 05:52 AM
RE: Check Array for numbers - by micseydel - Mar-02-2020, 07:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I check if the first X characters of a string are numbers? FirstBornAlbratross 6 1,611 Apr-12-2023, 10:39 AM
Last Post: jefsummers
  convert array of numbers to byte array adetheheat 3 2,858 Aug-13-2020, 05:09 PM
Last Post: bowlofred
  Print Numbers starting at 1 vertically with separator for output numbers Pleiades 3 3,808 May-09-2019, 12:19 PM
Last Post: Pleiades
  20 x 20 Integer array with random numbers harryk 3 3,413 Jul-28-2018, 03:38 PM
Last Post: harryk

Forum Jump:

User Panel Messages

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