

InterviewSolution
Saved Bookmarks
1. |
Input n and print n^2,n^3,n^4 |
Answer» Num=int(input("enter the numbers:")a=num*numb=num*num*numc=num*num*num*numprint(a,"is square of",num)Print(b,"is cube of",num)Print(c,"is 4times multiply of",num) | |