Kalkulačka umí i mocnit
This commit is contained in:
parent
aa844d0f37
commit
0dba10c411
1 changed files with 2 additions and 0 deletions
|
@ -10,5 +10,7 @@ elif operator == '*':
|
|||
print("Součin je", a * b)
|
||||
elif operator == '/':
|
||||
print("Podíl je", a // b)
|
||||
elif operator == '^':
|
||||
print("Mocnina je", a ^ b)
|
||||
else:
|
||||
print("Tento operátor neznám")
|
||||
|
|
Loading…
Reference in a new issue