Skip to content

Instantly share code, notes, and snippets.

@paulodutra
Created July 25, 2023 13:24
Show Gist options
  • Save paulodutra/be01f118fec6a70ea95b89626829cbe5 to your computer and use it in GitHub Desktop.
Save paulodutra/be01f118fec6a70ea95b89626829cbe5 to your computer and use it in GitHub Desktop.
Second example using count logic
count = 0
for c in range(1,7):
letter = str(input('Digite a primeira {} vogal: '.format(c)))
if letter == 'A' or letter == 'a':
count = count + 1
print('Você informou a vogal A {} vezes'.format(count))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment