Program 20:- Write a program to display the following table.
X Y X**Y
___________________
10 2 100
10 3 1000
10 4 10000
10 5 100000
Answers
Answered by
3
print('X \t y \t X**Y')
print('10 \t 2 \t ',10**2)
print('10 \t 3 \t ',10**3)
print('10 \t 4 \t ',10**4)
print('10 \t 5 \t ',10**5)
*Output*
X Y X**Y
___________________
10 2 100
10 3 1000
10 4 10000
10 5 100000
Similar questions