Advertisement
PawsonCz

reszta z dzielenia

Aug 11th, 2019
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. rok = int(input("podaj rok: "))
  3. print(rok % 2)  
  4. if rok % 2:
  5.     print(rok, " jest parzysty")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement