0

How can I write this Funny Statement in codes..?( i.e Python)!!

My Mom Said: "Honey, please go to the Market and buy 1 bottle of Milk. If they have Eggs, bring 6" I came back with 6 bottles of Milk. She said: "Why the hell did you buy 6 bottle of Milk?!" I said: "Because THEY HAD EGGS"

6th Dec 2017, 8:41 AM
Joseph Mike
Joseph Mike - avatar
5 Answers
+ 10
I think you want something like this: https://code.sololearn.com/cLh6R8bP0CIz/?ref=app Change the code according to your preferences Note - Please credit this code's maker
6th Dec 2017, 8:56 AM
Cool Codin
Cool Codin - avatar
+ 11
print (" My Mom said: .....") print (" blah blah blah") print(" blahhhh blahh blahh blah") print(" You only have to use one print() ") print (" I hope you understand what i mean")
6th Dec 2017, 8:50 AM
Frost
Frost - avatar
+ 2
Well James! I tried to analyse the statement in this way: list= ["Bottle of Milk ", "Eggs"] if Eggs in list: print(6)
6th Dec 2017, 9:00 AM
Joseph Mike
Joseph Mike - avatar
+ 1
print(''' My Mom Said: "Honey, please go to the Market and buy 1 bottle of Milk. If they have Eggs, bring 6" I came back with 6 bottles of Milk. She said: "Why the hell did you buy 6 bottle of Milk?!" I said: "Because THEY HAD EGGS" ''')
6th Dec 2017, 8:50 AM
#RahulVerma
#RahulVerma - avatar