Kemzz6604 Kemzz6604
  • 07-02-2020
  • Computers and Technology
contestada

Write a function called cipher(phrase,shift)that accepts two parameters: a string phrase and an integer shift.The integer shift can be positive, negative or zero.

Respuesta :

CPED
CPED CPED
  • 12-02-2020

Answer:

Following is given the code according to requirement.

The code is attached as an image so that the indentation is understood by the user. Comments are given inside the code where necessary.

The output of code is also attached as well  in end.

I hope it will help you!

Explanation:

Ver imagen CPED
Ver imagen CPED
Answer Link

Otras preguntas

Which math expression represents the phrase? 8 times the difference of a number and 3 a. 8 · (n – 3) b. 8 · n – 3 c. 8 · (n ÷ 3) d. 8 · (n + 3)
Western terms such as "lasso" and "rodeo" are based on the Spanish language. This reminds us that American cowboys were directly influenced by a. Spanish conqu
An ostrich that is 108 inches tall is 20 inches taller than 4 times the height of a kiwi. What is the height of the kiwi in inches?
how far is california from china?
If triangle ABC is congruent to triangle DEF, which statement is not true? a. segment AB ≅ segment DE b. ∠C ≅ ∠E c. segment BC ≅ segment EF d. ∠A ≅ ∠D
Which of the following explanations most likely accounts for Latin America’s failed transition to democracy, in contrast with the United States’ successful one?
The ratio of Isabella's money to Shane's money is 3:11. If Isabella has $33, how much money do Shane and Isabella have together?
Increasing government spending usually
What is 30 degrees north and 105 degrees east
8.94 rounded to the thousandth
good job