mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): update step description for Caesar cipher challenge (#66596)
This commit is contained in:
+2
-2
@@ -7,9 +7,9 @@ dashedName: step-20
|
||||
|
||||
# --description--
|
||||
|
||||
As you've already verified, the shift passed to encrypt the text should be positive. It cannot exceed `25` (the last index of `alphabet`) though.
|
||||
As you've already verified, the shift passed to encrypt the text should be a positive integer. It cannot exceed `25` (the last index of `alphabet`) though.
|
||||
|
||||
Add a second condition to the `if` statement that verifies that `shift` is greater than `25`. Remember that the logical OR operation in Python is implemented through the `or` operator.
|
||||
Add a second condition to the `if` statement that checks if `shift` is greater than `25`. Remember that the logical OR operation in Python is implemented through the `or` operator.
|
||||
|
||||
Also, update the returned message to `Shift must be an integer between 1 and 25.`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user