正在加载图片...
Reminder:Local Assignment def percent_difference(x.y): difference abs(x-y) return i00+difference /x Assignment binds name(s)to value(s) in the first frame of the current diff percent difference(40.50) environment Global frame >func percent_difference(x.y)[parent=Global] percent_difference f1:percent_difference [parent=Global] ×40 y50 difference 10 Execution rule for assignment statements: 1.Evaluate all expressions right of =from left to right 2.Bind the names on the left to the resulting values in the current frameReminder: Local Assignment Execution rule for assignment statements: 1. Evaluate all expressions right of =, from left to right 2. Bind the names on the left to the resulting values in the current frame Assignment binds name(s) to value(s) in the first frame of the current environment 9
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有