Python Save A single Item loop for String List

145 views Asked by At

I'm new in python and I'm creating a python 2.4 script that contains these code lines:

   line1 = 67169   58898
   words = line1.split()
   for i in range(len(words)):
       print (words[1])

When executing the script I got this:

 58898
 58898

What I need is a variable that contains only one 58898

0

There are 0 answers