0

The provided code stores the value 7 in variable and output it. Change the code to output the value of variable raise to power 3

Anyone know how to solve this

27th Feb 2022, 7:19 AM
Pritika Rathod
3 Antworten
+ 1
link your code here
27th Feb 2022, 8:15 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
I will give you an example using Python language Note: I will take the input from the user my_var = int(input()) print(my_var ** 3) If I write ✍️ the value by myself my_var = 7 print(my_var ** 3) the exponent in Python language is ** but in other programming languages is ^
27th Feb 2022, 8:50 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
the answer is num = 7 * * 3 print(num)
7th Mar 2022, 1:52 PM
Sirhan Haikal
Sirhan Haikal - avatar