Problem:
Question 1- Write a program that allows user to pick any number of cards randomly from a deck of 52 cards.
Question 2- Using the fundamental definition of discrete Fourier transform (DFT), find the numerical values of the first and last DFT terms (X[0] and X[3]) of a periodic sequence with digital period of 4, if the first four terms of the sequence are given by 2, 2, -1, and 1.
Step by step instructions so I can understand would be greatly appreciated!