Skip to content

Commit

Permalink
verify
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoMaci committed Oct 30, 2023
1 parent d064409 commit e9fb75d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#Insert number 3
#The number 3 is [not] present in the array.

def main():
def main() -> None:
N = [3, 4, 5, 1, 2, 3, 4, 9, 13, 0]
numero_da_trovare = int(input("Insert number: "))
found = False
Expand All @@ -12,7 +12,6 @@ def main():
if num == numero_da_trovare:
found = True
break

if found:
print(f"The number {numero_da_trovare} is present in the array.")
else:
Expand Down

0 comments on commit e9fb75d

Please sign in to comment.