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
FinnZ [79.3K]
3 years ago
15

5. What are looping or interactive statements? which

Computers and Technology
1 answer:
tankabanditka [31]3 years ago
8 0
Looping statements are statements which execute one or more statements repeatedly a several number of times. Specifically when you need to execute a block of code in less time, less memory and etc, the looping concept is necessary.


Python provides many different ways for executing loops. While all the ways provide similar basic functionality, they differ in their syntax and condition checking time...

The while loop: used to execute a block of statements repeatedly until a given a condition is satisfied. (And when the condition becomes false, the line immediately after the loop in program is executed.)

The for loop: used for sequential traversal

(Includes)
- looping through a string
- Break statements
- Continue statements
- range() functions
- else statements
- nested loops


You might be interested in
The cathode ray tube eventually was eventually used for what entertainment device?
Oliga [24]

\huge\underline{\underline{\boxed{\bm {Answer:}}}}

\large\bm{Television}

\huge\underline{\underline{\boxed{\bm {Explanation:}}}}

The cathode ray tube can be said to be a vacuum tube which contains one or more electric guns. This tube produces images when an electron beam strikes a phosphorescent surface. This tube produces pictures as a form of video signals. The entertainment device, which the cathode ray tube was eventually used for since it produces pictures, is a television set.

5 0
2 years ago
________ are devices used to send data between two networks.
svetoff [14.1K]
The answer is routers
4 0
3 years ago
What is the letter for the trash directory on windows 10?
myrzilka [38]
It's usually in C: drive.
<span>C:\$Recycle.Bin
</span>But if you have several drives, there are Recycle Bins each drive.
3 0
3 years ago
Read 2 more answers
Assuming dataFile is an ofstream object associated with a disk file named payroll.dat, which of the following statements would w
svet-max [94.6K]

Answer:

dataFile << salary;

Explanation:

To write salary to a file (payroll.dat) using ofstream, you make use of the following instruction:

<em>ofstream dataFile; </em>

<em>myfile.open ("payroll.dat"); </em>

<em>myfile <<salary; </em>

<em>myfile.close();</em>

<em />

This line creates an instance of ofstream

<em>ofstream dataFile; </em>

This line opens the file payroll.dat

<em>myfile.open ("payroll.dat"); </em>

This is where the exact instruction in the question is done. This writes the value of salary to payroll.dat

<em>myfile <<salary; </em>

This closes the opened file

<em>myfile.close();</em>

<em />

<em />

8 0
3 years ago
Bye guys imma k.ill myself for real this time.
oksano4ka [1.4K]

Answer:

bro no- why?

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • Why ois my printer not printing pictjures?
    9·1 answer
  • Write a function named delete Letter that has 2 parameters. The first parameter is a string, the second parameter is an integer.
    11·1 answer
  • Select the correct answer.
    15·1 answer
  • What Software is used to play,create, and modify audio and video files
    7·2 answers
  • Can anyone find any words in here?
    14·2 answers
  • __________ contain(s) remnants of word processing documents, e-mails, Internet browsing activity, database entries, and almost a
    9·1 answer
  • Write a program to create a customer bill for a company. The company sells only five products: TV, DVD player, Remote Controller
    12·1 answer
  • Which term is used in object-oriented programming to reference characteristics of an object?
    15·1 answer
  • Hi I need help with an assignment. We're learning about encryption and decryption in code.org. i need help with three of the tex
    14·1 answer
  • Is spin to win paying or is a scam app​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!