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
3 Antworten
+ 1
link your code here
+ 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 ^
0
the answer is
num = 7 * * 3
print(num)