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
aleksandrvk [35]
3 years ago
6

X= [12,67,89,34,56,90,67]

Computers and Technology
1 answer:
amm18123 years ago
8 0

Answer:

X = [12, 67, 89, 34, 56, 90, 67]

for i in range (len(X)):

   if (X[i] == 34):

       print(X[i])

       print("100")

   else:

       print(X[i])

Explanation:

Kind of a ugly hack because I'm not all too familiar with python, but it gets the job done :^)

You might be interested in
How do Filament 3D printers build a model?
ladessa [460]
A 3D object is created by wastefully removing bits of material from a larger block, 3D printing works by building an object layer-by-layer and only adding the necessary material to create the object. The process of additive manufacturing is to first develop a model, which is then digitally produced and sliced into thin layers. The printer adds plastic layers on top of each other through precise motions until the print is complete.
3 0
3 years ago
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in
Sladkaya [172]

Answer:

The program written in Java is given in the explanation section

Explanation:

public class num9 {

//Defining the method CountCharacters()

   public static int CountCharacters(char userChar, String userString){

       int c = userString.length();

       int count=0;

       for(int i=0; i<c; i++){

           if(userString.charAt(i)==userChar){

               count++;

           }

       }

       return count;

   }

//Main method begins here

   public static void main(String[] args) {

   char n ='n';

   String word = "Monday";

//Calling the method CountCharacters()

       System.out.println(CountCharacters(n,word));

   }

}

4 0
3 years ago
14. Emelia is very concerned about safety and has conducted a study to determine how many bike helmets were replaced at each loc
damaskus [11]

Answer:

Explanation:

Known Variables A = max Daily Rentals

X = Damaged helmets %

lets find the formula to calculate Helmets per location :taking 1st row as an example.

412 = B - (B*13/100)

412 = (100B-13B)/100

412*100 = 87B

B= 412*100/87

Hence, the generic formula becomes : B= A*100/(100-X)

Applying the same formula for each row and then using ROUND function of excel to round off the digits

=ROUND(number,digits) where number is the number you would like to round off and the digits is the number of decimal digits for it to round off. Since we want natural numbers in our example, we will be using digits as 0.

Explanation:

See attached pictures also.

5 0
4 years ago
Read 2 more answers
g Create a public non-final generic class called YourSimpleLinkedList. You should extend SimpleLinkedList which is parameterized
larisa86 [58]

Answer:

See explaination

Explanation:

class YourSimpleLinkedList<E> extends SimpleLinkedList<E> {

public boolean search(E value) {

if (value == null)

throw new IllegalArgumentException();

Item temp = start;

while (temp != null) {

if (temp.value.equals(value))

return true;

temp = temp.next;

}

return false;

}

}

3 0
3 years ago
Help please appreciate it
Lelechka [254]
D you can change the text box size if you need to include more text
3 0
3 years ago
Other questions:
  • Arpanet was developed by the united states so that there was a communication network that would survive a nuclear war. True or F
    11·1 answer
  • Will sum1 come bust me outta FCA....replies u gotta live in knoxville though
    13·2 answers
  • JOIN ZOOM <br> Code- 858 1417 3090 <br> Password- XvT18Q
    11·2 answers
  • For which purpose is RAM used?
    7·2 answers
  • 4. What is the simplest way to permanently get rid of an unwanted file?
    12·1 answer
  • Briefly explain why corporations are increasingly interested in using Unix or Linux for their operating systems.
    5·1 answer
  • When I press F3, F4, and any of my apps on my mac why wouldn't it do anything? Do you have a way to solve this problem? When I p
    10·2 answers
  • These are templates or patterns that make it easier for users to enter data
    8·1 answer
  • ....................
    5·1 answer
  • Schuyler is making a list of the parts of a computer that are software. Which of the following will be on the list?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!