Ask coding questions

← Back to all posts
what do i do to fix this?
VikLeeech (0)

bas = int (input("potensens bas:1,5"))
exponent = int(input("potensens exponent:2"))
potens = 1 for x in range(0, exponent) : potens = potens * bas
print (i) ("worth:", potens)

Commentshotnewtop
ash15khng (305)

When you do input() you need to type in a value in the code.

VikLeeech (0)

@ash15khng but if it still wont work?