Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def masa_moleculara(c, h, o):
- return c * 16 + h + o * 12
- if __name__ == "__main__":
- c = int(input("c="))
- h = int(input("h="))
- o = int(input("o="))
- print("masa: %d" % (masa_moleculara(c, h, o)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement