This repository was archived by the owner on Apr 24, 2025. It is now read-only.
Commit 4c355c8
authored
Update caesar-cipher.py
The code snippet for comparing value of new_shift greater than 25 is redundant, as already we are computing mod 26 of new_shift in the previous line, so, the value of new_shift will never be greater than 25.1 parent eaa9d06 commit 4c355c8
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | | - | |
70 | | - | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
| |||
0 commit comments