sh_05_ supermarket to buy Apple

 

sh_05_ supermarket to buy Apple

1  # 1. Apple defined monovalent 
2 . Price = 8.5
 . 3  
. 4  # 2. pick apples 
. 5 weight = 7.5
 . 6  
. 7  # 3. calculating the payment amount 
. 8 Money = weight * . Price
 . 9  
10  # 4. just buy apples, returns 5 money 
. 11 money money = -. 5
 12 is  
13 is  Print (money)

 

Guess you like

Origin www.cnblogs.com/shaohan/p/11465042.html