pwd = "fjkdsaljfklasj432" if len(pwd) >= 8: for c in pwd: if c.isnumeric(): print("OK") break