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
What best describes the purpose of occupational safety and health Administration
IRISSAK [1]

Under the Occupational Safety and Health Act of 1970, employers are responsible for providing safe and healthful workplaces for their employees. OSHA's role is to help ensure these conditions for America's working men and women by setting and enforcing standards, and providing training, education and assistance.

5 0
3 years ago
Read 2 more answers
A presentation on the history of the Internet would mostlikely use the ____ pattern of organizationSpatialproblem-solutionchrono
m_a_m_a [10]

Answer:

topical

Explanation:

A presentation on the history of the Internet would mostlikely use the topical  pattern of organization.

3 0
3 years ago
Mail merge requires an MS Word document in order to work.<br><br> True<br> False
Kipish [7]

True is correct. Hope it helps


3 0
3 years ago
Read 2 more answers
Although a variety of different styles of documentation exist for report preparation, each style requires the same basic informa
BARSIC [14]
I would say the statement given above is true. <span>Although a variety of different styles of documentation exist for report preparation, each style requires the same basic information. Hope this answers the question. Have a nice day.</span>
3 0
4 years ago
Create a program with three overloaded computeBill() methods for a photo book store.
xeze [42]

Using computational language in JAVA it is possible to write a code that deals with the fees applied in a total when buying a photobook.

<h3>Writing this code in JAVA we have:</h3>

<em>public class Billing {</em>

<em>    final static double TAX = 0.08;</em>

<em>    public static void main(String[] args) {</em>

<em>        final double HIGHPRICE = 24.99;</em>

<em>        final double MEDPRICE = 17.50;</em>

<em>        final double LOPRICE = 10.00;</em>

<em>        final int QUAN1 = 4;</em>

<em>        final int QUAN2 = 6;</em>

<em>        double bill;</em>

<em>        bill = computeBill(HIGHPRICE);</em>

<em>        System.out.println("The total for a photobook that costs $" +</em>

<em>                HIGHPRICE + " is $" + bill);</em>

<em>        bill = computeBill(MEDPRICE, QUAN1);</em>

<em>        System.out.println("The total for " + QUAN1 +</em>

<em>                " photobooks that cost $" +</em>

<em>                MEDPRICE + " is $" + bill);</em>

<em>        bill = computeBill(LOPRICE, QUAN2, 20.00);</em>

<em>        System.out.println("The total for " + QUAN2 +</em>

<em>                " photobooks that cost $" +</em>

<em>                LOPRICE + " with a $20 coupon is $" + bill);</em>

<em>    }</em>

<em>    public static double computeBill(double amt) {</em>

<em>        return amt * (1 + TAX);</em>

<em>    }</em>

<em>    public static double computeBill(double amt, int quantity) {</em>

<em>        return amt * quantity * (1 + TAX);</em>

<em>    }</em>

<em>    public static double computeBill(double amt, int quantity, double coupon) {</em>

<em>        return (amt * quantity - coupon) * (1 + TAX);</em>

<em>    }</em>

<em>}</em>

See more about JAVA at brainly.com/question/12975450

#SPJ1

6 0
2 years ago
Other questions:
  • The n modifier after the tilde forces the index variable to expand only to the ______
    15·1 answer
  • The salesperson in a cell phone store is telling me that the phone I'm considering has 8GB of memory, which means I can save 10,
    13·1 answer
  • Consider the following constructor for an immutable matrix ADT:
    8·1 answer
  • Select the guidelines you should follow when creating a resume
    12·2 answers
  • Select the characteristics that describe the evolution of computers that predate the personal computer (select all correct answe
    12·1 answer
  • Rachael has been posting negative comments on several of her peers' social media pages. Which of the six Ps is Rachael abusing?
    15·1 answer
  • Type the correct answer in the box. Spell the word correctly.
    15·2 answers
  • Match the image to its type.
    10·1 answer
  • All the network nodes are connected to each other
    8·1 answer
  • Write a program that generates 100 random numbers and keeps a count of how many of those random numbers are even and how many of
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!