Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Aszam = int( input("A=? "))
- Bszam = int( input("B=? "))
- if Aszam == 0:
- print("Az 1. a nulla")
- else:
- print("Az 1. nem nulla")
- if Bszam < 0:
- print("Negatív")
- if Bszam > 0 or Aszam >0:
- print("Van pozitív szám")
- if Bszam == 0 and Aszam > 0:
- print("B 0, A pozitív")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement