June 2022 1 6 Report
Co jest źle w tym kodzie, a dokładniej w 4 linijce? Ciągle mi pokazuje, że źle
a=float(input("Podaj liczbe a:"))
b=float(input("Podaj liczbe b:"))
dzialanie=input("Mam wykonac dodawanie czy odejmowanie?")
if dzialanie==-:
wynik=a+b
print("Wynik to",wynik)
else:
wynik=a-b
print("Wynik to",wynik)

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.