Created
October 26, 2016 03:02
-
-
Save gabrielcesar/aacad4f0ca3767b44e686f2d81183396 to your computer and use it in GitHub Desktop.
Revisions
-
gabrielcesar created this gist
Oct 26, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/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 )