subject

Fix the code. # this program uses a for loop inside of another for loop. # you don't need to know what every line of code does to figure # out what the program is doing. # try running the program a few times with different input # to observe what the program does. # use those observations to you figure out what the program # does. # the word variable is: word = input("enter a word: ") # the length variable is: length = len(word) # the range argument is equal to: for i in range(length): # the range argument is equal to: for j in range(length): # the sum_var variable is: sum_var = i + j # if the sum_var variable's value is greater than or # equal to the value assigned to length, then sum_var # is assigned to the value of sum_var minus the # value of length. if sum_var > = length: sum_var = sum_var - length # print a character slice of the variable word, and then # end= adds a space to the end of it. print(word[sum_var], end=" ") # print() without an argument prints a blank line. print()


Fix the code. # this program uses a for loop inside of another for loop. # you don't need to know wh

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
question
Computers and Technology, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
You know the right answer?
Fix the code. # this program uses a for loop inside of another for loop. # you don't need to know wh...
Questions
question
Computers and Technology, 17.11.2019 09:31
question
Mathematics, 17.11.2019 09:31
Questions on the website: 13722362