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