Question: 3. (20 points) Write a Python program that will calculate (and display) the total of the following series of numbers (using loop): 4+7+10+13++25+28 4. (20
3. (20 points) Write a Python program that will calculate (and display) the total of the following series of numbers (using loop): 4+7+10+13++25+28 4. (20 points) Write a Python program that reads a positive integer and outputs the number in reverse order. For example, reverse of 123 is 321 and reverse of 728 is 827. 5. (20 points) A prime number is an integer greater than 1 and divisible by only itself and 1. For example, 2,3,5,7,11,13 are prime numbers. Write a program that reads a positive integer then determines whether it is a prime number. [Hint: if n is a multiple of any numbers from 2 to n - 1 then n is NOT a prime number.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
