Write a python program that compute factorial of an integer


Assignment: Data Mining

1) Write a Python program that computes the factorial of an integer X (the program should ask the user to enter the value of X)

2) Write a Python program to compute the CORRELATION according to the following Pearson equation:

Hint: define a function called cor using the def key word that takes two inputs and return the correlation as an output.

Then create two vectors X and Y (Lists) of 10 numbers each and calculate the correlation between them using the function cor you defined.

The response must include a reference list. Using Times New Roman 12 pnt font, double-space, one-inch margins, and APA style of writing and citations.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Write a python program that compute factorial of an integer
Reference No:- TGS03026211

Expected delivery within 24 Hours