print("This program calculates how much ingredients you need to make cookies") yaay=input("How many cookies?") su=100 unsaltedblockbutter= 125 egg=1 vanillaessence= 1.5 salt= 0.5 selfraisingflour= 225 chocolate= 200 print ("brown sugar") print (su*int(yaay)) print ("g") print ("unsalted block butter") print (unsaltedblockbutter*int(yaay)) print("g") print("egg") print(egg*yaay) print("egg(s)") print("vanilla essence") print (vanillaessence*int(yaay)) print("teaspoon") print("salt") print(salt*int(yaay)) print ("teaspoon") print("self raising flour") print(selfraisingflour*int(yaay)) print("g") print("chocolate") print(chocolate*int(yaay)) print("g") print("Method:Pre-heat oven to 200oc Place butter and sugar in large bowl and mix well add the egg and vanilla essence and mix again sieve in flour and salt to mix and combine well.Cut the chocolate, but not to finely and add. Mix together then roll balls of mixture to about 2cm by 2cm and place on a baking tray with baking parchment on. Be careful not to put the cookies too close together.Place in preheated oven for 7-10 minutes. Repeat until all cookies are cooked.I use different kinds of chocolate and add nuts. For double chocolate cookies simply replace 50g flour with 75g chocolate powder.")
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question