Python-Quizzes | Python String Quiz | Question 3
Question 3: What is the output of the following program?
(A) L*oo frph e| wkhq1
Explanation: This piece of code ciphers the plain text. Each character is moved to its 3rd next character by increasing the ASCII value. ‘I’ becomes ‘L’, thus option (c) and (d) are ruled out. ‘ ‘ has an ASCII value of 32, thus it’ll become 35(‘#’), thus option (a) is ruled out as, ‘ ‘ cannot remain to be ‘ ‘ in the ciphered text.
Quiz of this Question
Please comment below if you find anything wrong in the above post