Skip to content

Instantly share code, notes, and snippets.

@cristinelpopescu
Created February 28, 2021 15:34
Show Gist options
  • Save cristinelpopescu/8415f6c73b586000d449247140a4ecc4 to your computer and use it in GitHub Desktop.
Save cristinelpopescu/8415f6c73b586000d449247140a4ecc4 to your computer and use it in GitHub Desktop.
A = float(input('enter a number '))
if (A % 2) == 0:
print('number is even')
else:
print('number is odd')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment