Skip to content

Instantly share code, notes, and snippets.

@Vishakha263
Last active October 22, 2019 18:20
Show Gist options
  • Save Vishakha263/25b9b8c910700132bf19a969fc0c93f6 to your computer and use it in GitHub Desktop.
Save Vishakha263/25b9b8c910700132bf19a969fc0c93f6 to your computer and use it in GitHub Desktop.
count=0
stud_marks=[84,31,56,77,22,9,89]
for marks in stud_marks:
if (marks<32):
continue
count+=1
@ishita20
Copy link

count=0
num="1200430670"
for digit in num:
  if digit != '0':
    continue
  count += 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment