Created
October 26, 2016 03:02
-
-
Save gabrielcesar/aacad4f0ca3767b44e686f2d81183396 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import math | |
x = int ( input ( 'Número de múltiplos: ' )) | |
y = int ( input ( 'Valor a ser multiplicado: ' )) | |
a = x * y | |
c = 0 | |
while ( c < a ): # numero de multiplos | |
c += y # valor a ser multiplicado | |
print ( c ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment