Created directories for the chapters
This commit is contained in:
7
kapitel7/sidan_104_ex2.py
Normal file
7
kapitel7/sidan_104_ex2.py
Normal file
@@ -0,0 +1,7 @@
|
||||
x = input("Ange basen: ")
|
||||
y = input("Ange exponenten: ")
|
||||
x = float(x)
|
||||
y = float(y)
|
||||
s = x**y
|
||||
print (str(x) + " upphöjt till " + str(y) + " blir " + \
|
||||
str(s))
|
Reference in New Issue
Block a user