Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 3 - Mathematical Functions, Strings, and Objects - Section 3.3 - Strings and Characters - Check Point - MyProgrammingLab - Page 71: 3.5

Answer

1=49 A=65 B=66 a=97 b=98 40=( 59=; 79=O 85=U 90=Z

Work Step by Step

-For printing AsCII code, we use $odr function$ print(ord('1')) =49 print(ord('A')) =65 print(ord('B')) =66 print(ord('a')) =97 print(ord('b')) =98 -To print the Characters of the given code, we have the chr function print(chr(40)) =$"("$ print(chr(59)) =$";"$ print(chr(79)) ="O" print(chr(85)) =$"U"$ print(chr(90)) =$"Z"$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.