Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PyPartial
#Python 2.7.17 #PyPartial: demonstration of partial function #this code is created by Rezaul Hoque on December 28,2021;contact: jewelmrh@yahoo.com,Dhaka, Bangladesh #note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; def commission(a,b): if a<1000: return a else: return a+a*b def sales(a): return commission(a,0.20) display = sales(1000) print(display)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
axsd
single_digit
MultiDeco
GayChicken
сщые
Lambda
PyRangeArg
Gus Hw Help
PythonTuple
gameboy
Please log in to post a comment.