![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.03.2021 02:40 marziel24
A substitution cipher for the digits 0, 1, 2, 3, . . . , 9 substitutes each digit in 0, 1, 2, 3, . . . , 9 with another digit in 0, 1, 2, 3, . . . , 9. It can be represented as a 10-digit string specifying how each digit in 0, 1, 2, 3, . . . , 9 is substituted. For example, the 10-digit string '3941068257' specifies a substitution cipher in which digit 0 is substituted with digit 3, 1 with 9, 2 with 4, and so on. To encrypt a nonnegative integer, substitute each of its digits with the digit specified by the encryption key. Implement function cipher() that takes as input a 10-digit string key and a digit string (i. e., the clear text to be encrypted) and returns the encryption of the clear text.
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:00
What operating system is a smartphone most likely to use? 1.bsd 2.mac os x 3.symbian 4.linux
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:00
How can a broadcast station be received through cable and satellite systems?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
A substitution cipher for the digits 0, 1, 2, 3, . . . , 9 substitutes each digit in 0, 1, 2, 3, . ....
Questions
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 27.10.2020 19:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 19:30
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 19:30
![question](/tpl/images/cats/biologiya.png)
Biology, 27.10.2020 19:30
![question](/tpl/images/cats/istoriya.png)
History, 27.10.2020 19:30
![question](/tpl/images/cats/mat.png)
Mathematics, 27.10.2020 19:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/fizika.png)
Physics, 27.10.2020 19:30
![question](/tpl/images/cats/ekonomika.png)
Business, 27.10.2020 19:30