asked 127k views
4 votes
B) Write and run a program that will produce the following results (3 pts)

Square Cube
1 1 1
3 9 27
5 25 125
7 49 343
9 81 729

asked
User Lmanners
by
8.2k points

1 Answer

2 votes

Answer:

print("Square Cube")

for i in range(1, 10, 2):

print(f"{i} {i**2} {i**3}")

Step-by-step explanation:

answered
User Amit Kumar Pawar
by
7.3k points