Apr-03-2023, 03:03 PM
good question Dean and thats where i am not sure last code from rob works. Because if you compare found list numbers to random_list they dont match.
Like i said you are asking the computer to throw at you 4 random numbers. (1,1,4,3)
You than compare those 4 numbers to your list, the start_list =[1,2]
If the computer 4 random numbers are starting with [1,2] you have a match.
In the case of (1,1,4,3) its not a match than the computer generate another 4 numbers and check again if it fit the condition of the list. (1,2) at the beginning.
What i am interested in, is to analyze what subsequent numbers the computer will generate after 1 and 2. But they have to be part of the original serie and not be added afterward.
I hope my explanation are a bit better.
Like i said you are asking the computer to throw at you 4 random numbers. (1,1,4,3)
You than compare those 4 numbers to your list, the start_list =[1,2]
If the computer 4 random numbers are starting with [1,2] you have a match.
In the case of (1,1,4,3) its not a match than the computer generate another 4 numbers and check again if it fit the condition of the list. (1,2) at the beginning.
What i am interested in, is to analyze what subsequent numbers the computer will generate after 1 and 2. But they have to be part of the original serie and not be added afterward.
I hope my explanation are a bit better.