aayushi-droid / Python-Thunder

A curated list of Python applications
MIT License
86 stars 159 forks source link

Difference of Max and Min Numbers in List #279

Closed VishalAmbavade closed 3 years ago

VishalAmbavade commented 3 years ago

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add

Problem statement: Create a function that takes a list and returns the difference between the biggest and smallest numbers.

Examples: difference_max_min([10, 4, 1, 4, -10, -50, 32, 21]) ➞ 82 Smallest number is -50, biggest is 32.

difference_max_min([44, 32, 86, 19]) ➞ 67 Smallest number is 19, biggest is 86.

Link to problem statement:https://edabit.com/challenge/XsJLwhAddzbxdQqr4


Before submitting a PR please Check some details.Check Edabit for problem task

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github Good Luck,

ritwiksingh21 commented 3 years ago

Hello! I'd like to be assigned to solve this problem.

BAGPALLAB7 commented 3 years ago

Hey @VishalAmbavade i want to solve this problem pls assign me to solve this problem.

Widell79 commented 3 years ago

Would like to give it a try..

BAGPALLAB7 commented 3 years ago

Would like to give it a try..

Hey @VishalAmbavade I have added this program please review it and merge this. I'm contributing for the very first time in open source and I'm participating first time on Hacktoberfest. Please accept my code.