Write a Python program to check the type of discount a customer gets based on their total spending.
name.spending.if-elif-else structure to determine their discount:spending is greater than or equal to 100, print:"Congratulations, [name]! You spent $[spending], so you get a 20% discount!"spending is greater than or equal to 50, print:"Well done, [name]! You spent $[spending], so you get a 10% discount!"spending is less than 50, print:"Thank you, [name]! You spent $[spending], but you need to spend at least $50 for a discount."We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!
