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
ankoles [38]
3 years ago
10

A line of code that begins with the while needs to end which symbol? # " : .

Computers and Technology
1 answer:
olga_2 [115]3 years ago
3 0
<h2>A line of code that begins with the "while" needs to end with <u>":"</u> symbol</h2>

Explanation:

In python, the while loop statement has ":" at the end of the line.

<u>Syntax:</u>

while expression:

code(s) or statement(s)

<u>Example:</u>

cnt = 0

while (cnt < 5):

  print 'cnt:', cnt

  cnt = cnt + 1

Like other programming languages, while loop works in the same way except that in python it comes alone with "else" statement. When the condition is false, "else" statement gets executed.

<u>Example:</u>

#!/usr/bin/python

cnt = 0

while cnt < 5:

  print cnt, " is  less than 5"

  cnt = cnt + 1

else:

  print cnt, " is not less than 5"

You might be interested in
Which of the following types of e-commerce presence is best suited for creating an ongoing conversation with one's customers?A)
Over [174]

Answer:

C) Social media

Explanation:

Social media is a vital marketing tool in the modern era. Aside from posting photos or status updates, using social media for customer service can elevate your business to the next level. Social media has strong potential to better address customer service issues. And if you address and resolve customer concerns over social media in short enough time, the exchange can help you create a loyal customer base.

8 0
3 years ago
Intranets:
SOVA2 [1]

Answer:

A, C, D and E

Explanation:

An intranet is synonymous to a private LAN or WAN network but in contrast to the extranet or internet. Resources are retrieved and/ or shared within devices in the private network. It uses the internet protocol suite model of networking for communication, but also uses private IP addresses, which are not routable on the internet.

The communication between devices can be a peer to peer connection or client-server connection, using the mainframe computer technologies as the dedicated servers of the network.

7 0
4 years ago
you are presenting with two monitors. which view displays a preview of the next slide and speaker notes on the second monitor?
Helga [31]
The preview would be constructed by putting the next slide monitor on the left and the speaker notes on the name of the dominant hand… the right.
5 0
3 years ago
Which of the following creates a security concern by using AutoRun to automatically launch malware?
AveGali [126]

Answer:

USB device

Explanation:

AutoRun automatically launches malicious software as soon as you insert a USB device

3 0
3 years ago
What is information
Nataliya [291]
Information is a set of facts about a topic or a group of details about something
4 0
3 years ago
Read 2 more answers
Other questions:
  • Lief wants to keep the information of his chart, but he doesn’t want it taking up space in his page. What should he select after
    7·2 answers
  • A(n) _ is a book of synonyms.
    14·1 answer
  • Adam has decided to add a table in a Word doc to organize the information better.
    10·1 answer
  • Write a Java program that generates GUI (Graphical User Interface). Your program should provide labels and textfields to a user
    9·1 answer
  • Which of the following are NOT possible using the RANDOM(a, b) and DISPLAY(expression) abstractions?
    10·1 answer
  • In the ( ) Model, each in a network can act as a server for all the other computers sharing files and acsess to devices
    11·1 answer
  • Which file format should Wilson use for sending these images?
    9·2 answers
  • Because it manages all other software the computer which software is most important
    5·2 answers
  • Un polímero sintético es renovable o no renovable
    11·1 answer
  • How was science used to make television?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!