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]
3 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]3 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
3. Which of the following is an example of qualitative data?
ad-work [718]

Answer:

Number of Items

5 0
3 years ago
A plate and frame heat exchanger has 15 plates made of stainless steel that are 1 m tall. The plates are 1 mm thick and 0.6 m wi
hodyreva [135]

Answer:

14.506°C

Explanation:

Given data :

flow rate of water been cooled = 0.011 m^3/s

inlet temp = 30°C + 273 = 303 k

cooling medium temperature = 6°C  + 273 = 279 k

flow rate of cooling medium = 0.02 m^3/s

Determine the outlet temperature

we can determine the outlet temperature by applying the relation below

Heat gained by cooling medium = Heat lost by water

= ( Mcp ( To - 6 )  =  Mcp ( 30 - To )

since the properties of water and the cooling medium ( water ) is the same

= 0.02 ( To - 6 ) = 0.011 ( 30 - To )

= 1.82 ( To - 6 ) = 30 - To

hence To ( outlet temperature ) = 14.506°C

6 0
3 years ago
A continuous and aligned fiber-reinforced composite having a cross-sectional area of 1130 mm2is subjected to an external tensile
lakkis [162]

Answer:

(a)  The force sustained by the matrix phase is 1802.35 N

(b) The modulus of elasticity of the composite material in the longitudinal direction Ed is 53.7 GPa

(c) The moduli of elasticity for the fiber and matrix phases is 124.8 GPa and 2.2 GPa respectively

Explanation:

Find attachment for explanation

8 0
3 years ago
Who was part of dempwolf his firm when he first started
Zinaida [17]

Explanation:

Dempwolf created by John Augustus, Among the most prominent innovative solutions in Southern California Pennsylvania was established by Dempwolf with  brother Reinhardt or uncle's son Frederick entered the company of J.A. Dozens of structures in 10 states were engineered by Dempwolf.

5 0
3 years ago
Determine the velocity of the 13-kgkg block BB in 4 ss . Express your answer to three significant figures and include the approp
Anvisha [2.4K]

Answer:

The question has some details missing : The 35-kg block A is released from rest. Determine the velocity of the 13-kgkg block BB in 4 ss . Express your answer to three significant figures and include the appropriate units. Enter positive value if the velocity is upward and negative value if the velocity is downward.

Explanation:

The detailed steps and appropriate calculation is as shown in the attached file.

6 0
3 years ago
Other questions:
  • Drag each tile to the correct box.
    11·1 answer
  • What is the resultant force on one side of a 25cm diameter circular plate standing at the bottom of 3m of pool water?
    12·1 answer
  • During an office party, an office worker claims that a can of cold beer on his table warmed up to 20oC by picking up energy from
    13·1 answer
  • What is pneumatic troubleshooting
    6·1 answer
  • Define Viscosity. What are the main differences between viscous and inviscid flows?
    10·1 answer
  • Certain pieces made by an acoustic lathe are subject to three kinds of defects X,Y,Z. A sample of 100 pieces was inspected with
    6·1 answer
  • ________ are written to “maximize” or “minimize” a specific value associated with the product needs in order to define the goal
    9·2 answers
  • Engineering practices include which of the following? Select all that apply.
    10·1 answer
  • Explain the process of energy conversion by describing how energy was converted from the windmill design brief. Discuss the diff
    12·1 answer
  • 25 In differential aeration corrosion, rich oxygenated parts are
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!