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
Musya8 [376]
3 years ago
8

What will be the output for;

Computers and Technology
1 answer:
PSYCHO15rus [73]3 years ago
6 0

The output for; for i in range(1,6): if i==3: print('hello') break else: print(i) print('done') the output for the given Python program is 001020340.

<h3>What is range () in Python?</h3>

The python range() function creates a collection of numbers on the fly, like 0, 1, 2, 3, 4. This is very useful, since the numbers can be used to index into collections such as string. The range() function can be called in a few different way.

  1. The given program is as:
  2. i =0
  3. while i < 5
  4. print(i)
  5. i +=1
  6. if i==3 :
  7. break
  8. else:
  9. print(0)
  10. It will give the following as result 001020340
  11. Hence, the answer is 001020340.

Read more bout the python :

brainly.com/question/26497128

#SPJ1

You might be interested in
Https://forms.gle/eP8F5eKC2AUaCsB67
Deffense [45]

Answer:

NO .THATS NOT A GOOD QUESTIONS.

Explanation:THOSE R PERSONAL

3 0
3 years ago
What is the answer ??​
Blizzard [7]

Answer:

D all of the above

B operating system

7 0
3 years ago
Read 2 more answers
I am in need of a research topics in networking and security?​
cricket20 [7]
No, you will be fine.
8 0
4 years ago
Write a method named countMatching(). It has two parameters: a String and a character. The method returns a count of how many ti
andreev551 [17]

Answer:

Check the explanation

Explanation:

public static int countMatching(String s, char c) {

   int count = 0;

   for (int i = 0; i < s.length(); i++) {

       if (s.charAt(i) == c)

           ++count;

   }

   return count;

}

Method in a complete Java program

public class FizzBuzz {

/* sample run:

    * z appears 2 time(s) in FIZZbuzz

    */

   public static void main(String[] args) {

       String s = "FIZZbuzz";

       char c = 'z';

       int count = countMatching(s, c);

       System.out.printf("%c appears %d time(s) in %s%n", c, count, s);

   }

   // Put your countMatching() method here:

   public static int countMatching(String s, char c) {

       int count = 0;

       for (int i = 0; i < s.length(); i++) {

           if (s.charAt(i) == c)

               ++count;

       }

       return count;

   }

}

z appears 2 time(s) in FIZZbuzz Process finished with exit code

4 0
4 years ago
_____ is a group of Internet-based applications that build on the ideological and technological foundations of Web 2.0, and that
lutik1710 [3]

Answer: Social media

Explanation:

 Social media is defined as the group of the internet based various applications that basically build on the foundation of  technological and ideological of the web 2.0. It basically allow the exchange of the user content and creation.

It is the most flexible platform that enable the users with the huge experience. It is also known as free and open source platform. It basically contain the various content that are algorithm driven and machine learning.

 

3 0
3 years ago
Other questions:
  • Write the definition of a function divide that takes four arguments and returns no value . The first two arguments are of type i
    8·1 answer
  • Plzzzzzzz help good answers only and best answer gets brainly
    5·1 answer
  • How do you open two different picture in photoshop?
    14·1 answer
  • Exit windows entirely and turns off the computers power
    8·1 answer
  • Identify which statement explains why a programmer would break a logic problem into steps.
    13·2 answers
  • A_______is a limitation imposed on the engineer. It can be a limitation on
    5·1 answer
  • If you are working with a team of students on a class project and your team chooses to share content by uploading Word and Excel
    13·1 answer
  • My Mac is stuck on this screen? How to fix?
    10·1 answer
  • Several programmers write individual code modules that are used for different processes in a vehicle. Individual tests have alre
    13·1 answer
  • Write a program that uses a stack to test input strings to determine whether they are palindromes. A palindrome is a sequence of
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!