Skip to content

Instantly share code, notes, and snippets.

@Spotik
Created August 21, 2016 21:19
Show Gist options
  • Select an option

  • Save Spotik/a429cbf7666aad11efe80753c062a2b6 to your computer and use it in GitHub Desktop.

Select an option

Save Spotik/a429cbf7666aad11efe80753c062a2b6 to your computer and use it in GitHub Desktop.
'''Escreva um algoritmo que apresente todos os valores inteiros divisíveis por 5 situados entre um valor
mínimo e um máximo, fornecidos pelo usuário.'''
min = input("Qual o número minimo?\n")
max = input("Qual o número maximo?\n")
while min <= max:
if (min % 5) == 0:
print min
min += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment