Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Programacao 1, 2014.1 Pedro Paulo
- # Plif Plof
- num1 = float(raw_input())
- num2 = float(raw_input())
- num3 = float(raw_input())
- somatorio = (num1 + num2 + num3)
- if somatorio % 3 == 0 and somatorio % 5 == 0:
- print "plifplof"
- elif somatorio % 3 == 0:
- print "plif"
- elif somatorio % 5 == 0:
- print "plof"
- else:
- print somatorio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement