python Write a program that defines a function to determine whether input number n is prime or not. A positive whole number n > 2 is prime, if no number between 2 and √n (inclusive) evenly divides n. If n is not prime, the program should quit as soon as it finds a value that evenly divides n in python September 11, 2022
python Write a program to print Fibonacci sequence up to n numbers using recursion in python September 11, 2022
python Write a program that defines a function to return a new list by eliminating the duplicate values in the list in python September 11, 2022
python Write a program that defines a function (shuffle) to scramble a list into a random order, like shuffling a deck of cards in python September 11, 2022
python Write a program to repeatedly prompt the user to enter the capital of a state. Upon receiving the user’s input, the program reports whether the answer is correct. Assume the states and their capitals are stored in dictionaries as key- value pairs in python September 10, 2022
python Write a program that is given a dictionary containing the average daily temperature for each day of the week, and prints all the days on which the average temperature was between 40 and 50 degrees in python September 10, 2022
python Write a program to randomly fill in 0s and 1s into a 4x4 2- dimension list, print the list and find the rows and columns with the most number of 1s in python September 09, 2022