Professional: Using social media to advertise a company you created
Unprofessional: Using social media to watch cat videos
The python code which can be used to read dates from input, one date per line and each date's format must be as follows: March 1, 1990, is:
<h3>Python code</h3>
import datetime
inputs = []
result = []
#read the inputs
date = input()
inputs.append(date)
while not date == "-1":
date = input()
inputs.append(date)
#check if the input is in the correct format and convert it.
for date_text in inputs:
try:
date_text = datetime.datetime.strptime(date_text,"%d %B, %Y")
result.append(date_text.strftime("%d/%m/%Y"))
except ValueError:
pass
print(*result, sep = "\n")
The above code would parse the string and extract the date. The split() method was used to break the input into tokens.
Read more about python programming here:
brainly.com/question/27666303
#SPJ1
Answer:
While we almost never get to see most of the cables, they power everything so it only makes sense that you should know what the different types of cables and wires are, so that you can pick accordingly and have your equipment, devices and appliances powered properly.
It is also important to identify cables and conductors for safety purposes, such as emergencies linked with electricity.
Im going to guess the 2nd one.
The 1st one just shows how trees can make ____ and then goes to water, the sun, then the rain but it CAN be used as one.
The 2nd one seems to explain the best it can show about weather, water, landforms, the sun, and seems like a better one to choose.