10.Write a Python program to count total number of notes in given amount. Solution :- amount = int(input("Enter the amount....")) n2000=n500=n200=n100=n50=n20=n10=n5=n2=n1=0 if(amount >=2000): n2000 = amount//2000 amount = amount -n2000*2000 if(amount >=500): n500 = amount//500 amount = amount -n500*500 if(amount >=200): n200 = amount//200 amount = amount - n200*200 if(amount >=100): n500 = amount//100 amount = amount -n100*100 if(amount >=50): n500 = amount//50 amount = amount -n50*50 if(amount >=20): n500 = amount//20 amount = amount -n20*20 if(amount >=10): n500 = amount//10 amount = amount - n10*10 if(amount >=5): n500 = amount//500 amount = amount -n5*5 if(amount >=2): n500 = amount//2 amount = amount -n2 * ...
All computer course for class 9th to 12th with proper practical and theory .........