Question
Answered step-by-step

I am having difficulty understanding what needs done here. The code...

I am having difficulty understanding what needs done here. The code brings up the right output but it gives me a score of zero. It looks like I need a newline added but I cannot for the life of me figure it out.

Image transcription text

Latest submission - 3:45 PM on 01/10/21 Total score: 0 / 10 Only show failing tests Download this submission 1: Compare output ~ 0 / 4 Output is nearly correct; but whitespace differs. See highlights below. Special character legend 2000 Input 2 Your output 1000 500 250 Expected output 1000 500 250

... Show more

Image transcription text

1.21 LAB: Divide by x Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250 Note: In Python 3, integer division discards fractions. Ex: 6 // 4 is 1 (the 0.5 is discarded). 247772.1693678 LAB ACTIVITY 1.21.1: LAB: Divide by x 0 / 10 main.py Load default template... 1 user_num=int(input()) x=int(input()) for i in range(3) : OUT AWNI user_num//x print(user_num//x, end=' ') user_num=user_num//x When done developing your program, press the Submit for grading button below. This will Develop mode Submit mode submit your program for auto-grading.

... Show more

Answer & Explanation
Verified Solved by verified expert

ctum vitae odo. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus

usce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Subscribe to view answer
Step-by-step explanation

sque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae o



tesque dap

Screenshot from 2021-01-11 02-40-16.png


pulvinar tortor nec facil

Screenshot from 2021-01-11 02-45-28.png




aciniadictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacini

2 Attachments
Screenshot from 2021-01-11 02-40-16.png
png
Screenshot from 2021-01-11 02-45-28.png
png