SNHU Programming Integers Project

User Generated


Computer Science

Southern New Hampshire University


Write a programusing integers user_num and x as input, and output user_num divided by x three times.

Unformatted Attachment Preview

LAB ACTIVITY 1.21.1: LAB: Divide by x 1 user_num=int(input()) 2 x=int(input()) 3 for i in range(3): user_num/-x 4 5. print(int (user_num), end=' ') 6 7 Develop mode Submit mode Run your program as often as you'd like, before submitti input values in the first box, then click Run program and second box.Run program Input (from above) -> Program errors displayed here Traceback (most recent call last): File "", line 1, in user _num=int (input ()) EOFError: EOF when reading a line Coding trail of your work What is this? 9/10 S- min:15 MacBook Air (Your program 1.22 LAB
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

View attached explanation and answer. Let me know if you have any questions.

user_num = int(input('Enter use...

I was having a hard time with this subject, and this was a great help.


Related Tags