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
information of hdfc bank
in whose name is the one rupee currency issued in india
Hi frnds, can u suggest me good institutes in vizag for GROUP1?
wrong number in series is 1,6,33,165,740,2970,10395
Bird is flying 120 km/hr between B to R. Two trains at B to R at 60 kmph. The distance traveled by the bird before it is killed?
how to calculate the provision for doubtful debtors?
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.
who are the Sultan Mirzza
The stock investment and opening stock of a company are Rs. 500 and Rs. 1000. Calculate its closing stock
What are your suggestions for making workers participation more affective in an IT industry?
Hello friends, Can someone provide me a link to RS Aggarwal Verbal and Non Verbal reasoning book? Thanks,
number which when divide by 49 leave 32 as the reminder and number divide by 7 what was the remainder
Find the least number which when divided by 12,16 and 36 leaves remainder 7 in each case
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
What is VDA & DA Full Form?