2. Teil, Tag 3 ..
This commit is contained in:
parent
d70a5f5640
commit
4f1cbe7691
|
@ -6,6 +6,9 @@ line_count = 0
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
def search_elements(mylist, position=0, search='most'):
|
def search_elements(mylist, position=0, search='most'):
|
||||||
|
# print('position: {}, search: {}'.format(position, search))
|
||||||
|
# print('list: {}'.format(mylist))
|
||||||
|
|
||||||
# break if only one element
|
# break if only one element
|
||||||
if len(mylist) == 1:
|
if len(mylist) == 1:
|
||||||
return mylist[0]
|
return mylist[0]
|
||||||
|
|
Loading…
Reference in New Issue