Question: Problem: Write a program with a function that given a list of numbers, returns True if and only if all of the numbers in the
Problem: Write a program with a function that given a list of numbers, returns True if and only if all of the numbers in the list form an arithmetic progression, that is the difference between any two successive numbers in the list is the same. Your main program should read a file containing spaceseparated numbers as test lists, print each list and the outcome after calling the function.
File name: numbers.txt
True
True
True
False
False
Answer: Copy your code in the space given below and insert screenshots of your program output for the following scenario:
Use the file Pvtxt as the source file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
