Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
max min diff list
print("Create a function that takes a list and returns the difference between the biggest and smallest numbers") list=[1,20,30] def kuch(list): print(min(list)) def bhi(list): print(max(list)) kuch(list) bhi(list) def diff(list): print(max(list)-min(list)) diff(list)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
mansur
Calender 2019
Itertools-Cartesian-Product-var-args
Moore Voting Algorithm
even odd
two-digits-puzzle
lambda list map
Komalsri123
PyEnum
sheru1
Please log in to post a comment.