Alex W. answered 02/04/22
Professional Python Tutor & Full-Time Dev!
In Python, this is straightforward using list comprehensions. List comprehensions are just a shortcut for writing a for loop on an iterable like a list. Here's an answer that solves most of the requirements for your program:
length = int(input("How long would you like the array to be?"))
arr = [input("Next?") for _ in range(length)]
print(" ".join([str(i) for i in arr]))
middle = len(arr) // 2
print(arr[middle])
print(min(arr))
to_add = int(input("Input a number to add to all elements"))
arr = [to_add + i for i in arr]
print(" ".join([str(i) for i in arr]))