Delete exercise 3.6.1 and exercise 3.6.2 Python files

This commit is contained in:
Tutur33
2023-12-18 21:09:31 +01:00
parent d1935079d4
commit 3d8d15b843
292 changed files with 11955 additions and 32 deletions
@@ -0,0 +1,19 @@
chaine = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
from random import randint, choice
def password(n:int) -> str:
r = ''
for i in range(n):
r += chaine[randint(0, len(chaine))]
return r
print(password(10))
def password2(n:int) -> str:
r = ''
for i in range(n):
r += choice(chaine)
return r
print(password2(10))