Skip to content

Commit

Permalink
Merge pull request #25 from leylighaffari/patch-5
Browse files Browse the repository at this point in the history
Update list& tuple
  • Loading branch information
debug-ashena committed Oct 29, 2020
2 parents 0207dc2 + 6a28118 commit 8cf74ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion list&tuplePractice.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
numbers= [2,4,6,8,12,14,16,("test","pre-test"),18]
count=0
for
for n in numbers:
if type(n) is tuple:
break
count +=1
print(count)

0 comments on commit 8cf74ec

Please sign in to comment.