Skip to content

Commit

Permalink
Reto mouredev#8 python
Browse files Browse the repository at this point in the history
  • Loading branch information
duscoir committed Jul 30, 2023
1 parent 020a1ca commit 3fd7213
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
def generador_pseudoaleatorio(numero, modulo_grande):
numero = numero ** 3
numero = numero // 100
numero = numero % modulo_grande
return numero

if __name__ == '__main__':
numero = float(input("Ingrese un numero (grande) "))
modulo_grande = float(input("Ingrese el modulo grande (+grande): "))
print(f"El numero pseudoaleatorio es:{generador_pseudoaleatorio(numero, modulo_grande)}")

0 comments on commit 3fd7213

Please sign in to comment.