In: Computer Science
Print out the following output. You must use exactly 2 for statements, 2 range statements, and 3 print statements. (python)
Calculating x **
1
1
3
5
====
Calculating x ** 2
1
9
25
====
Calculating x ** 3
1
27
125
====
for pow in range(1, 4):
print('Calculating x **', pow)
for num in range(1, 6, 2):
print(num **
pow)
print('====')
**************************************************
Thanks for your question. We try our best to help you with detailed
answers, But in any case, if you need any modification or have a
query/issue with respect to above answer, Please ask that in the
comment section. We will surely try to address your query ASAP and
resolve the issue.
Please consider providing a thumbs up to this
question if it helps you. by Doing that, You will help other
students, who are facing similar issue.