Answer:
Explanation: This seems more like an opinion answer so give your opinion, try yout best, just trying to help ;)
Answer:
The solution code is written in Python:
- name = input("Enter your name: ")
-
- name_components = name.split(" ")
-
- first_name = name_components[0]
- middle_name = name_components[1]
- last_name = name_components[2]
-
- print(last_name + ", " + first_name[0] + "." + middle_name[0])
Explanation:
Firstly, prompt user to enter name (Line 1).
Next, use the string <em>split()</em> method and use space " " as separator to split the input string into individual component, first name, middle name, last name and assign to variable <em>first_name, middle_name </em>and<em> last_name </em>(Line 5-7).
Display the output as required by the question.
Just put Still attending or Enter Highschool then if they ask you about it just let them know your still attending, that’s what I did and got the job on the spot
The A. Primary cell can not be recharged or the primary cell is not a rechargeable cell. The choices above are the several types of the battery cell which are used for preserving electric energy. There are two major types of the battery cell which are the primary and the secondary cell based on its recharging ability<span>. The other choices besides the primary cell are the secondary cell.</span>
Answer:
Following are the python code to print the given pattern:
print('FOURTH') # using print method
for i in range(10): #using loop to count numbers
for j in range(10-i): # use loop to print asterisk value in reverse order
print("*", end=" ") #print value
print("") #using print method for space
Output:
Please find the attachment.
Explanation:
The description of the above python program can be described as follows:
- In the first line, use the print method, that print message "FOURTH".
- In the next line, two for loop is used in which the first loop counts the number to be print value, inside the loop another for loop is used.
- In this loop, it prints asterisk values in its reverse order and for new lines, it will use the print method with a single white space.