Introduction to Programming using Python 1st Edition

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

Chapter 1 - Introduction to Computers, Programs, and Python - Programming Exercises - Page 27: 1.4

Answer

The code is below.

Work Step by Step

We find: print("a\t a^2\t a^3") print("1\t 1\t\t 1") print("2\t 4\t\t 8") print("3\t 9\t\t 27") print("4\t 16\t\t 64") $Output:$ a$ $ $ $ $ $ $ $ a^2 $ $ $ $$ $$ $ a^3 1$ $ $ $ $ $ $ $ 1 $ $ $ $ $ $ $ $ $ $ 1 2$ $ $ $ $ $ $ $ 4 $ $ $ $ $ $ $ $ $ $ 8 3$ $ $ $ $ $ $ $ 9 $ $ $ $ $ $ $ $ $ $ 27 4$ $ $ $ $ $ $ $ 16 $ $ $ $ $ $ $ $ $ $ 64
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.