0
Python 3
What makes this code wrong?? We learned about the random module today. Way wont it work ? https://code.sololearn.com/cfpuyeBGdfV0/?ref=app
3 Answers
+ 2
I think you are missing an-
import random
Also write print(s) at end to see the result.
+ 2
Import random and print result.
import random
x = random.randint(1,50)
y = random.randint(2,5)
s = x**y
print(x, "power", y, "=", s)
+ 1
thank you guys đđđ