Hi here I have tried a math program . In which we should get result as -2 for any number that have been given as input
num = int(raw_input("Input any number u like :"))
cal = ((num + 3 ) * 2) - 4
new = ( 2 * (num) ) - cal
print num
print cal
print new
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment