import string import random if __name__ == "__main__": s1 = string.ascii_lowercase # print(s1) s2 = string.ascii_uppercase # print(s2) s3 = string.digits # print(s3) s4 = string.punctuation # print(s4) plen = int(input("Enter password length\n")) #Todo1: Handle Gibberish s = [] s.extend(list(s1)) s.extend(list(s2)) s.extend(list(s3)) s.extend(list(s4)) # print(s) # random.shuffle(s) # print(s) print("Your password is: ") print("".join(random.sample(s, plen))) # print("".join(s[0:plen])) #include #include #include using namespace std; static const char alphnum[]="0123456789" "!@#$%^&*" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"; int strLen=sizeof(alphnum)-1; char GenRand() { return alphnum[rand()%strLen]; } int main() { int n,c=0,s=0; srand(time(0)); cout >n; cout 2 &...
Posts
how to save jazz balance code
- Get link
- X
- Other Apps
how to save jazz balance cod how to save jazz balance jazz code for balance save mobilink balance save code how to save balance in jazz how to save balance in jazz when data is on e balance save code jazz how to save jazz balance code jazz balance saving code balance save jazz jazz balance save what is jazz code to save balance jazz balance saving code balance save code jazz use internet jazz balance save what is jazz code to save balance code balance save code jazz jazz code for balance save jazz ka balance save code jazz sim balance save code how to save jazz balance code