Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Chocolate():
- def __init__(self,cacao_content):
- self.cacao_content = cacao_content
- def sweet(self,content=30):
- cacao_content = 30
- return cocao_content
- def semisweet(self,content=50):
- cacao_content = 50
- return cocao_content
- def bittersweet(self,content=70):
- cacao_content = 70
- return cocao_content
- def bitter(self,content=99):
- cacao_content = 99
- return cocao_content
- sade = Chocolate()
- print(sade.sweet())
Advertisement
Add Comment
Please, Sign In to add comment