Kindly help me execute this syntax

The questions says

Create a function get_algorithm_result to implement the algorithm below

Get a list of numbers L1, L2, L3....LN as argument Assume L1 is the largest, Largest = L1 Take next number Li from the list and do the following If Largest is less than Li Largest = Li If Li is last number from the list then return Largest and come out Else repeat same process starting from step 3

Create a function prime_number that does the following

Takes as parameter an integer and

Returns boolean value true if the value is prime or

Returns boolean value false if the value is not prime

but this is what i have written so far

```
def get_algorithm_result(numList):
numblist = range(10)
for i in numList:
if L1 < Li:
print (Largest = Li)
elif Li is LN:
return "Largest"
continue
```