I'm trying to take 500+ lines of data/values, and each line looks like
random random data: 7 random height: 7
random words data: 20
random height: 8 random random data: 522 random height: 2
random random data: 1 random height: 10
And I'm just trying to extract the height values, and print them to the screen
I would think I would use some sort of split command but not sure where to start (I'm very new to python), if the above 4 lines is my data set then how can I approach this?
mystring = """
random random data: 7 random height: 7
random words data: 20
random height: 8 random random data: 522 random height: 2
random random data: 1 random height: 10
"""
something like that?