Answer:
lines = input("enter the lines of strings: ")
line_list = lines.splitlines()
with open("third_characters.txt", "w+") as file:
for line in line_list:
file.write(line[2])
file.write("\n")
Explanation:
The python module gets the input of string values from the user and splits it into a list of strings. The third character on each string item is retrieved and saved in a document file named 'third_characters.txt' with each character on a single line.
Answer:
Please find the code and its output in the attached file:
Explanation:
In this code a structure "menuItemType" is defined that declared float and integer variable and outside the structure its list type variable "menuList" is defined that holds and calculates its value.
In the next step, a class "Rest" is defined, and inside the class a method "getData", "showMenu", and "printCheck" is defined, in which the above methods uses the switch for input and calculate the value and the last "printCheck" calculates the Tax and Amount Due value.
In the main method, a class object is created that prints message and call the above method.
Answer:
B - The user is no longer able to log on to the network
Explanation:
<h3>
Answer: it connects to the power supply to run the pc</h3>
Explanation: your welcome