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
olganol [36]
4 years ago
6

Write a loop to print the numbers: 11, 21,...51 using Python

Computers and Technology
1 answer:
Fittoniya [83]4 years ago
6 0

In this series, we start off with 11 and then keep adding 10 to the each number and print it until we get 51.

The Code:

series = [11]

while series[-1] != 51:

series.append(series[-1] + 10 )

print(*[x for x in series],sep = ',')

We said while the last number of the list is not equal to 51, add 10 to the last number of the list.

'-1' index is for the last number.

So, if the last number of the list is 51, it breaks off and prints the elements in the list separated by a comma.

Answer:

11,21,31,41,51

Hope this helps! :)

You might be interested in
Tax preparation software can help prepare and file your taxes by _________.
OverLord2011 [107]
Tax preparation software can help prepare and file your taxes by April 15.
4 0
3 years ago
Solve for x<br><br>4d+3/8=-2​
Alexxx [7]

Answer:

-19/32

Explanation:

(If I assume d to be x)

4x+3/8=-2

or,4x=-2-3/8=-19/8

or,x=(-19/8)*(1/4)=-19/32

5 0
3 years ago
_______ is a process that insures that operations meet data validity standards. For instance, information systems that process c
lutik1710 [3]

Answer:

The answer is consistency

Explanation:

Information systems deal with the retrieval, storage, manipulation and sharing of data for organisational needs. It is important that there are measures in place that corresponds to data validity standards. The process that ensures that operations meet these standards is known as consistency.

This is very necessary for information systems.

5 0
3 years ago
What is the purpose of the SMTP command "HELO"
sergij07 [2.7K]
If a client initiates the SMTP communication using an EHLO (Extended Hello) command instead of the HELO command some additional SMTP commands are often available. They are often referred to as Extended SMTP (ESMTP) commands or SMTP service extensions. Every server can have its own set of extended SMTP commands.
4 0
4 years ago
Please help! Why might NASCAR engineers modify racecars to create the type of drag your racecar experienced?
lutik1710 [3]
They modify is bcuz every race car is different and the driver is going to want something different then everyone else. 
4 0
3 years ago
Other questions:
  • In a relational database design, all relationships are expressed by ________.
    10·1 answer
  • Desktop computer systems are less reliable than laptop computers. <br> a. True <br> b. False
    9·1 answer
  • If the motherboard is not getting power, it will not start the boot. ... A four-year old laptop will not boot and presents error
    13·1 answer
  • keeping in mind the role in order of precedence plays in equations, what would excel display as the result of the following equa
    14·1 answer
  • FOR ALL PLATO USERS:
    10·2 answers
  • Write a program using integers userNum and x as input, and output userNum divided by x four times. Ex: If the input is: 2000 2
    15·1 answer
  • Tell me at list 5 farm animals dieases​
    10·2 answers
  • Write a function process_spec that takes a dictionary (cmap), a list (spec) and a Boolean variable (Button A) as arguments and r
    10·1 answer
  • Website managers use____ every day.
    10·2 answers
  • What is the process called when programmers look for and fix errors in code? Analysis Debug Document Error check
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!