Question: Prompt for an input (integer), let's name the integer N. Print the first N negative integers. No error checking necessary. Remember that Zero is neither

Prompt for an input (integer), let's name the integer N. Print the first N negative integers. No error checking necessary. Remember that Zero is neither positive or negative. Your code should not print anything when the input is 0. For example, if the input Nis 4, this will be printed: -2 -3 -4 Example of interaction: Input an integer: 4 -4 NOTE: starting Code N_str = input ("Input an integer: ") NOTE: Do not change/delete anything from the starter code, those are needed to pass the tests. Full Screen code.py # New 1 ##################################### 2 #DO NOT CHANGE OR DELETE # 3 N_str input("Input an integer: ") # 4 ##################################### 5 6 #WRITE YOUR CODE HERE 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
