Question: Write a program that prompts the user for an integer between, but not including, 0 and 100 and returns the sum of the digits.

Write a program that prompts the user for an integer between, but not including, 0 and 100 and returns the sum of the digits. For example, the sum of the digits of 38 is 11. Bonus 5% Write a program that prompts a user to enter three integers (all at once, do not use three separate input statements), and returns if the three values can be the sides of a triangle or not. This will require the use of if statements. This is allowed for the purposes of the bonus. Use documentation and the resources available to you to learn how to use if statements in Python and what conditions are required for 3 values to be the sides of a triangle.
Step by Step Solution
There are 3 Steps involved in it
Python program that prompts the user for an integer betwe... View full answer
Get step-by-step solutions from verified subject matter experts
