Created
May 24, 2019 13:43
-
-
Save eLtronicsVilla/e8b42cd7729c2a5a6ed0b0ac6ba7b4f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the data | |
d_data = [1,3,4,5,6,7,8] | |
# Define a function | |
def data_range(data): | |
return max(data) - min(data) | |
print(data_range(d_data)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment