Computers and Technology

What will be the output of the following code snippet? token = false while token : print("hello")
a) "hello" will continue to be displayed until the user stops the program.
b) no output because of compilation error.
c) no output after successful compilation.
d) "hello" will be displayed only once.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 20:20, jazzy4211
Sometimes writers elaborate on the truth when recalling past events so they can enhance their narrative essay with more interesting descriptions. do you feel that published writers should or should not embellish real life events just to make their stories more interesting?
Answers: 2
image
Computers and Technology, 23.06.2019 14:00, camiserjai1832
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
image
Computers and Technology, 24.06.2019 15:30, lizziesuks
What is the function of compilers and interpreters? how does a compiler differ from an interpreter?
Answers: 2
image
Computers and Technology, 24.06.2019 15:40, elgallo5399
In the above figure, what type of cylinder arrangement is shown in the figure above? a. l-type b. v-type c. in-line d. horizontal pls make sure its right if its rong im grounded for 3months
Answers: 1
Do you know the correct answer?
What will be the output of the following code snippet? token = false while token : print("hello")...

Questions in other subjects:

Konu
Arts, 17.03.2021 23:50
Konu
Mathematics, 17.03.2021 23:50