Cryptographer's Conundrum
This commit is contained in:
1 parent
a78dd59e7d
commit
422eff3a2f
1 file changed
+4
@@ -0,0 +1,4 @@
|
||||
secret = input().strip()
|
||||
per = "PER" * (len(secret) // 3)
|
||||
d = sum([1 if x != y else 0 for x, y in zip(secret, per)])
|
||||
print(d)
|
||||
Reference in new issue
Block a user