- 2

Why this code not showing output?

a = 1,2,3,4,5,6,7,8,9,0 b = '!', '@', '#', '

#x27;, '%', '&', '*' u = 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' s = 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' x = str(a) y = str(b) c = input("") d = len(c) if d>6: if x and y in c: if u or s in c: print('Strong') else: print('Weak')

16th Mar 2022, 10:49 AM
Ganesh Ram
Ganesh Ram - avatar
2 Antworten
+ 4
Try learning about list and other data structures in python.
16th Mar 2022, 10:54 AM
Simba
Simba - avatar