top of page

Cashier

169

[500, 100, 50, 10, 5, 2, 1]

[0.0, 1.0, 1.0, 1.0, 1.0, 2.0, 0.0]


530

[500, 100, 50, 10, 5, 2, 1]

[1.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0]


import random


bill=random.randint(5,1000)

print(bill)

bill2=bill

cash=[500,100,50,10,5,2,1]

print(cash)

Breakup=[0]*len(cash)


for i in range(len(Breakup)):

Breakup[i]=(bill-bill%cash[i])/cash[i]

bill=bill-Breakup[i]*cash[i]


print(Breakup)

 
 
 

Recent Posts

See All
Maze solver question making app in gmaps

[3/13, 12:29 PM] Harish Exinc: Hi folks honestly after doing flood fill algorithm with paper I want to pick up a name of a shop on road and play flood fill however the destination isn't marketed perfe

 
 
 
Should have solved maze in 2000

Got Harry Potter 4 in 2000 and should have solved in windows computer with floodfill Google.. and demoed in House to cricket lawn in 2000..

 
 
 
Better human maze solver

[3/11, 4:25 AM] Harish Teach: I must have made floodfillopillo maze solving video from ganga hostel entrance to swimming pool.. with a twig in 2010 when I first learned it.. or in caltech hostel to s

 
 
 

1 Comment


Dr. Harish Ravi
Dr. Harish Ravi
Dec 13, 2021

What's your address so I can buy a birthday cake and random food items and maybe come soneday and send or I will just buy some internet service on every birthday of yours and let the ripple economics . Please imagine. It's just a psychological experiment if you sign up. Anyone can send products too bypassing website.

Like
bottom of page