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
Lunna [17]
2 years ago
10

Question Set 22.1 Using the count method, find the number of occurrences of the character 's' in the string 'mississippi'.2.2 In

the string 'mississippi', replace all occurrences of the substring 'iss' with 'ox'.2.3 Find the index of the first occurrence of 'p' in 'mississippi'.
Engineering
1 answer:
Gnom [1K]2 years ago
8 0

Answer:

# Program is written in python

# 22.1 Using the count method, find the number of occurrences of the character 's' in the string 'mississippi'.

# initializing string

Stringtocheck = "mississippi"

# using count() to get count of s

counter = Stringtocheck.count('s')

# printing result

print ("Count of s is : " + str(counter))

# 2.2 In the string 'mississippi', replace all occurrences of the substring 'iss' with 'ox

# Here, we'll make use of replace() method

# Prints the string by replacing iss by ox

print(Stringtocheck.replace("iss", "ox"))

#2.3 Find the index of the first occurrence of 'p' in 'mississippi'

# declare substring

substring = 'p'

# Find index

index = Stringtocheck.find(substring)

# Print index

print(index)

# End of program

You might be interested in
What would be the most likely scale factor to use for an n-gauge model train setup? (An n-gauge layout uses locomotives that are
slega [8]
A or b for sure brother
8 0
3 years ago
Answer the question faster please
Juliette [100K]

Answer:

No

Explanation:

3 0
2 years ago
The average human heart Beats 1.15 times 10 to the power of 5 per day. There are 3.65 times 10 to the power of 2 days in one yea
laila [671]

Answer:

  4.2·10⁷

Explanation:

Exponents are added when multiplying:

  (a^b)(a^c) = a^(b+c)

  1.15·10⁵ × 3.65·10² ≈ 4.2·10⁷

_____

Your calculator is designed to work with scientific notation. Scientific or graphing calculators can also display their output in scientific notation. A spreadsheet can also perform this calculation for you and display the result in the required format.

Calculators and spreadsheets sometimes use "E" in place of "×10^". That is, 4.2E7 means 4.2×10^7.

8 0
3 years ago
A room is cooled by circulating chilled water through a heat exchanger located in the room. The air is circulated through the he
Zanzabum

Answer:

input power of the geothermal motor will be 0.4166 hP

Explanation:

We have given shaft output = 0.25 hP

hP is known as horse power which is unit of measuring the power of motor

Efficiency of motor is given as efficiency = 60 % = 0.6

We have to fond the heat supply by the fan motor Q

We know that efficiency of any motor is the ratio of shaft power and input power

So 0.6=\frac{0.25}{P_0}

So P_0=\frac{0.25}{0.6}=0.4166hP

So input power of the geothermal motor will be 0.4166 hP

6 0
3 years ago
The Accenture team is involved in helping a client in the transformation journey using Cloud computing. How is myNav beneficial
professor190 [17]

Answer:

It helps ensure the security of client data.

Explanation:

Cloud computing is one of the security features in networking which is being adopted by big corporations and organizations inorder to ensure smooth running of the organization.

Also, due to the sensitivity of data which some organizations deals in, they tried everything possible to protect themselves and their clients' information through use of cloud computing.<em> Data are stored in the clouds, and requires special administrative rights for it to be accessed by some of the staffs working in any given organization.</em>

8 0
2 years ago
Other questions:
  • Capitol Brewing Inc.'s management is very concerned with declining sales of their major product, a dark ale, and has asked for h
    14·1 answer
  • In Visual Basic/Visual Studio, characteristics of controls, such as the Name of the control, or the Text displayed on the contro
    10·1 answer
  • What is measurement in term of electrical engineering ​
    5·1 answer
  • A 350 m^3 retention pond that holds rainwater from a shopping mall is empty at the beginning of a rainstorm. The flow rate out o
    7·1 answer
  • In a flow over a flat plate, the Stanton number is 0.005: What is the approximate friction factor for this flow a)- 0.01 b)- 0.0
    8·1 answer
  • Airplanes typically have a Pitot-static probe located on the underside that measures relative wind speed as the airplane flies.
    6·1 answer
  • When must an Assured Equipment Grounding Conductor Program (AEGCP) be in place?
    10·1 answer
  • What are the specifications state that all work shall be done?
    10·1 answer
  • When nondeterminism results from multiple threads attempting to access a shared resource such as a shared variable or a shared f
    9·1 answer
  • The regulator is closed when the adjusting screw is turned in (clockwise).
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!