Skip to content

Instantly share code, notes, and snippets.

View cristinelpopescu's full-sized avatar

Cristinel-Adrian Popescu (Cristian) cristinelpopescu

View GitHub Profile
#some simple math
A = float(input('enter A number: '))
B = float(input('enter B number: '))
#addition
#print( A + B)
#substraction
#print( A - B)
#divide
A = float(input('enter a number '))
if (A % 2) == 0:
print('number is even')
else:
print('number is odd')