Commit 0eaa116c authored by Børge Haugset's avatar Børge Haugset
Browse files


parent f0daa1e0
# Oppgave slide 23
liste = [1,2,3,4,6,8,9,123,43,54,34,65,76,23,54]
svar=int(input("Gjett på et tall i lista: "))
if svar in liste:
print(svar,"er i lista")
print(svar,"er ikke i lista")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment