def sacamult(numeroin, numerofin):
mult = 1
while numeroin <= numerofin:
mult = mult * numeroin
numeroin = numeroin + 1
print 'el producto es ',mult
numeroin = int (input('dame numero inicial: '))
numerofin = int (input('dame numero final: '))
sacamult(numeroin,numerofin)
Ingenieria en Sistemas Computacionales. Instituto Tecnológico De Matamoros.
Programa - Multiplica los numeros en un intervalo
-
import pygame from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * verticies = ( (1, -1, -1), (1, 1, -1)...
-
import os import random import threading from Tkinter import * from PIL import Image, ImageTk import time import pygame ""...