fork download
  1. #operatory arytmetyczne
  2. print(5+2)
  3. print(5-2)
  4. print(5*2)
  5. print(5**2) #potęgowanie# your code goes here
  6. print(5/2) #dzielenie z przecinkiem -->2,5
  7. print(5//2) #dzielenie bez przecinka -->2
  8. print(5%2) #dzielenie reszta z dzielenia -->1
  9.  
  10. a="Python"
  11. b="więcej"
  12. c="niż"
  13. d="kalkulator"
  14. e="to"
  15.  
  16. print(a+" "+e+" "+b+" "+c+" "+d)
Success #stdin #stdout 0.04s 9504KB
stdin
Standard input is empty
stdout
7
3
10
25
2.5
2
1
Python to więcej niż kalkulator