Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def potence(luku, pot):
- i = tulos = 1
- while True:
- tulos *= luku
- i += 1
- if i > pot:
- break
- return tulos
- if __name__ == "__main__":
- n = 10000
- lauseke = 1 + 1 / n
- lauseke = potence(lauseke, n)
- mjono = bytearray(200)
- mjono = str(lauseke)
- print(mjono)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement