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 11:00
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 24.06.2019 15:30
If you want to delete an entire word at a time, which key should you press along with the backspace or delete key?
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
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
Mathematics, 03.09.2021 22:20
question
Mathematics, 03.09.2021 22:20
question
Computers and Technology, 03.09.2021 22:20
question
Biology, 03.09.2021 22:20
Questions on the website: 13722367