1- Write a function that takes a weight for a package and the distance it should
ID: 3640468 • Letter: 1
Question
1- Write a function that takes a weight for a package and the distance it should be shipped and displays the charges for the package based on the following:Weight per 500 miles shipped
2kg or less $1.10
Over 2kg but less than or equal to 6kg $2.20
Over 6kg but less than or equal to 10kg $3.40
Over 10Kg but less than or equal to 20kg $4.60
----------------------------------------------
2- Write a function that takes the string and removes the punctuation marks and spaces from it. Use the string: “I am the Lorax, I speak for the trees… Now, thanks to your hacking my trees to the ground, there's not enough truffula fruit to go round!!!!”