Maszi

"potęgowanie"

Dec 1st, 2019
129
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = int(input("Podaj a: "))
  2. b = int(input("Podaj b: "))
  3. i = 1
  4. wynik = 1
  5. while i <= b:
  6.     wynik *=a
  7.     i+= 1
  8. print("a do potegi b wynosi: " + str(wynik))
RAW Paste Data