1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
EleoNora [17]
3 years ago
12

A loop that will output only the names that come before "Thor" in the alphabet from the names list.

Computers and Technology
1 answer:
matrenka [14]3 years ago
3 0

names = ["Kevin", "Joe", "Thor", "Adam", "Zoe"]

names.sort()

for x in names:

   if x == "Thor":

       break

   else:

       print(x)

I made up my own names for the sake of testing my code. I wrote my code in python 3.8. I hope this helps.

You might be interested in
Public static double secret(int first, double second)
gizmo_the_mogwai [7]

Answer:

d. double temp;

Explanation:

Given

The above code segment

Required

Which is not part of the method definition

The method in the above program is:

public static double secret(int first, double second)

Looking through the options, we can conclude that:

d. double temp;

..... is not a part of the method

6 0
3 years ago
Your _______ can help block inappropriate content online.<br> 1. web browser<br> 2. Password
djverab [1.8K]

Answer:

web browser.

Explanation:

yea let me go post my password to block content (sarcasm)

7 0
3 years ago
Sam has installed a new CPU in a client’s computer, but nothing happens when he pushes the power button on the case. The LED on
nordsb [41]
The answer would be b) She forgot your apply thermal paste between the CPU and the heat-sink and fan assembly
3 0
3 years ago
A prediction or statement that can be tested is ____
sattari [20]
A. Hypothesis can be tested and proven. 
5 0
3 years ago
Assume you have taken another square picture with the 25-megapixel digital camera discussed in the previous question. This time
RUDIKE [14]

Answer:

8% of the picture

Explanation:

Given:

Square picture pixels = 25 MP

Pixels that can be displayed by the computer = 2000 pixels by 1000 pixels

or

Pixels that can be displayed by the computer = 2000000 pixels

Now,

The fraction of picture viewable on the screen = \frac{\textup{2MP}}{\textup{25MP}}

or

The fraction of picture viewable on the screen = 0.08

or

The fraction of picture viewable on the screen = 8% of the picture

8 0
3 years ago
Other questions:
  • On computer X, a nonpipelined instruction execution would require 12 ns. A pipelined implementation uses 6 equal-length stages o
    9·1 answer
  • nside of your organization that checks how often client machines access it. If a client machine hasn't accessed the server in th
    6·1 answer
  • Jeremy wants to run a program file from the command prompt. Which of the following should Jeremy type in the command prompt wind
    8·2 answers
  • We already know that we can create a lunar lander application of the pipe-and-filter architecture style from three independent J
    6·1 answer
  • hey guys just dropped some hot beats so go and follow me my user is the beats and comment if you would do that that would be gra
    11·1 answer
  • Take two String inputs of the same length and merge these by taking one character from each String (starting with the first ente
    8·2 answers
  • Simple example of hybrid computer​
    7·2 answers
  • Please answer this question​
    8·1 answer
  • How do you get lugia in pokemon alpha saphire
    6·1 answer
  • Write a short note on Ms - Excel...​..
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!