Computers and Technology

Code in python here is the problem: a new high school has just been completed. there are 100 lockers in the school and they have been numbered from 1 through 100. during recess (remember this is a fictional problem), the students decide to try an experiment. when recess is over each student will walk into the school one at a time. the first student will open all of the locker doors. the second student will close all of the locker doors with even numbers. the third student will change all of the locker doors that are multiples of 3 (change means closing lockers that are open, and opening lockers that are closed.) the fourth student will change the position of all locker doors numbered with multiples of four and so on. after 100 students have entered the school, which locker doors will be open, and why

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:40, Rententen3845
How do i get the most points, without any effort?
Answers: 2
image
Computers and Technology, 22.06.2019 19:20, mayaparness
Write a program that prompts the user to input a string. the program then uses the function substr to remove all the vowels from the string. for example, if str = "there", then after removing all the vowels, str = "thr". after removing all the vowels, output the string. your program must contain a function to remove all the vowels and a function to determine whether a character is a vowel.
Answers: 2
image
Computers and Technology, 23.06.2019 12:30, Prettygirlyaya
How is the brightness of oled of the diaplay is controled
Answers: 1
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
Do you know the correct answer?
Code in python here is the problem: a new high school has just been completed. there are 100 locker...

Questions in other subjects: