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
Answer:
C
Explanation:
Boolean Algebra deals with either a one or a zero and how to manipulate them in computers or elsewhere. The "choice" option may not work, since for text it must be enclosed in quotation marks, usually. For "again," it's text and not a 1 or 0. So, the answer is C, since this is a 0.
Answer:
We Mine Limestone. Its used to make cement, toothpaste or paints, soil conditioner, and rip rap stone.
Explanation:
Answer:D
Explanation:
Take longer time to retrieve than long term memory, involves transient modifications in the function of pre existing synapses, such as channel modifications.