Answer:
All the mention codes are correct.
Explanation:
In the task1, a "name" variable is declared, that store a string, and in the next step, the built-in method "title, lower and upper" is defined, in which the title method capitalized the first character of the given word in each sentence, upper method change each character into upper case and the lower method changes each character into lower case.
In task2, a message variable is declared, that holds a string value in which the count method is used that counts the space character value.
In task3, a string value is used in the message variable, which uses a replace method to change the given string value.
In task3, a response variable is declared that uses an input method for input a string value, and inside the print method, len method is used that counts each input character number.
Answer:
theSum = 0.0#defined in the question.
count=0 #modified code and it is used to intialize the value to count.
data = input("Enter a number: ") #defined in the question.
while data != "": #defined in the question.
number = float(data) #defined in the question.
theSum += number #defined in the question.
data = input("Enter the next number or press enter to quit ") #defined in the question "only some part is modified"
count=count+1#modified code and it is used to count the input to print the average.
print("The sum is", theSum)#defined in the question.
print("The average is", theSum/count) #modified code and it is used to print the average value.
output:
- If the user inputs as 1,4 then the sum is 5 and the average is 2.5.
Explanation:
- The above code is written in the python language, in which some part of the code is taken from the question and some are added.
- The question has a code that tells the sum, but that code is not print the average value of the user input value.
- To find the average, some codes are added, in which one count variable which is initialized at the starting of the program and gets increased by 1, when the user gives the value.
- Then that count divides the sum to print the average.
All you do is hold the power button and click restart. It doesnt affect the iTunes...
Answer:
false
Explanation:
Q:
You can change the color of the value of a cell or the background color of the cell, but not both TRUE OR FALSE
A:
false
Answer:
none of the above
Explanation:
Web navigation refers to the process of navigating a network of information resources in the World Wide Web, which is organized as hypertext or hypermedia. The user interface that is used to do so is called a web browser.