Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1apple=5rs 20grapes=1rs 1banana=1rs no. Of fruits should be 100 and cost should be 100 how?

Answer Posted / jagadish

for i in range(0,20):
for j in range(0,5):
for k in range(0,100):
if i+j*20+k == 5*i + j +k==100:
print ("apples-{},grapes-{},banana-{}".format(i,j*20,k))


apples-19,grapes-80,banana-1

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c programme to find the product of elements in one dimensionl array?

2994


Hello friends, Can someone provide me a link to RS Aggarwal Verbal and Non Verbal reasoning book? Thanks,

2781


information of hdfc bank

2169


in whose name is the one rupee currency issued in india

1758


swami ramdas guru of shivaji,what is name of arm in hand ..?

2554


Differentiate between pay grade and broading.

3182


Ramesh went to a bank with a cheque. He had no money with him. He handed over the cheque to one of the bank tellers. The bank teller was in a confused state of mind and cashed the cheque. He gave Ramesh as many rupees as those of paise he had to give and as many paise as those of rupees he had to give. Ramesh took the amount and left the bank. He then bought a chocolate for 75 paise from a shop nearby. He then observed that he was left with an amount which was the excess of the amount on the cheque over the amount he received from the teller. Find the sum of them number of rupees and paise on the cheque. a) 60. b) 75 c) 90 d) 120

3959


in a year once,in a month two,in a week four, in a day six times?

2066


What is VDA & DA Full Form?

25600


wrong number in series is 1,6,33,165,740,2970,10395

1444


what is democratic right

2289


who are the Sultan Mirzza

2482


A father has three daughters find out the age of three daughters ? 1-the product of their age is 36. 2-the sum of their age is equal to your house number . 3-my eldest daughter has green eyes.

2413


SIR/FRIENDS I HVAE GOT 24 MARKS IN MATH OF IBPS CLERK EXAM. THAT IS PASSING BORDER FOR MY CATEGORY.(TOTAL 135/250). IF INTERVIEWER ASKED ME "U R ON THE BORDER OF THIS PASSING MARK " . WHAT SHOULD I SAY TO INTERVIEWER . GIVE ME PERFECT SUGGESTION AND ANS ON MY E-MAIL ID.

2582


The characters of the c program to receive input from and send to function, this function will check if the characters between letters a to z as y is the output characters to the main function and otherwise, return to the main function of the y characters.

1846