Write a program that asks the user how many integers they would like to enter. You can assume that this initial input will be an integer >= 1. The program will then prompt the user to enter that many integers. After all the numbers have been entered, the program should display the largest and smallest of those numbers (no, you cannot use lists, or any other material we haven't covered). When you run your program it should match the following format:
How many integers would you like to enter?
4
Please enter 4 integers.
-4
105
2
-7
min: -7
max: 105
The file must be named: min_max.py
Write a program that prompts the user for an integer that the player (maybe the user, maybe someone else) will try to guess. If the player's guess is higher than the target number, the program should display "too high" If the user's guess is lower than the target number, the program should display "too low" The program should use a loop that repeats until the user correctly guesses the number. Then the program should print how many guesses it took. When you run your program it should match the following format:
Enter the number for the player to guess.
-12
Enter your guess.
100
Too high - try again:
50
Too high - try again:
-2000
Too low - try again:
-12
You guessed it in 4 tries.
If the user guesses the number in 1 try, then your program should print "You guessed it in 1 try."
The file must be named: num_guess.py
Write a program that asks the user to enter a positive integer, then prints a list of all positive integers that divide that number evenly, excluding itself and 1, in ascending order. When you run your program, it should match the following format:
Please enter a positive integer: 12
The factors of 12 are:
2
3
4
6
The file must be named: factors.py