initial commit
This commit is contained in:
commit
39f56a3b10
83 files changed
+3583
No files matched your search
@@ -0,0 +1,9 @@
|
||||
new_lst = ["Hallo", "Alex", "Moin", "ka", "world", "Zh"]
|
||||
|
||||
def lin_search(lst,target):
|
||||
for element in lst:
|
||||
if element == target:
|
||||
print(f"found '{element}' in {lst}")
|
||||
print("finished search")
|
||||
|
||||
lin_search(new_lst, "Alex")
|
||||
Reference in new issue
Block a user