final project y and x function

Job ID: 32229281

Budget: €8 – €30 EUR

• Create a program that asks the user for the number of points they would like
plotted as a line. Based on the number that is inputted by the user, do the
following:
o For the y values:
§ Create a list of random integers that range between 1 and 100.
§ The number of integers in the list is the number that was inputted by the user. (So, if the user types 7, a list of 7 random integers between 1 and 100 will be created.)
§ The associated y values will be the list of random numbers. For
example, [56, 100, 17, 23, 1, 62, 84]
o For the x values:
§ Use values that go from 1 up to the inputted number in increments of 1. (So, in this example the x values would be
[1,2,3,4,5,6,7].).
o Plot the line. Include a title for the graph, as well as titles for the X and
Y labels.
o Choose your own style and color for the line.
Related categories: Programming Help