想问一下,这个程序要怎么写,写了好多遍都不对,Python3版本的
count=int(input("请输入一个整数金额:")) x = int(count/50) y = int((count-x*50)/5) z = count-(x*50)-(y*5) print('找零{}元其中\n50元:{}张\n5元: {}张\n1元: {}张\n'.format(count,x,y,z))