Answer:
See explaination
Explanation:
def readFileFirstLast(filename):
# doc string
''' Function accept the filename and opens the fle
and reads all lines and strips new line character and
stores first and last in a string and return that string'''
#eception handle if file not found
try:
#opening the file
f = open(filename)
#reading the first line and striping the ne line
string = f.readline().strip()
#iterating until last line
for line in f:
pass
#concate the last line after strip the new line character to the string
string = string + " " + line.strip()
#return the string
return string
except:
#if file not found
return "File not found"
#taking the file name from user
filename = input("Enter a file name: ")
#printing the doc string in function
print("\ndoc_sting: \n"+ readFileFirstLast.__doc__+"\n")
#printing the returned string by calling the readFileFirstLast()
print("output string :")
print(readFileFirstLast(filename))
Evaluate her current skills and identify areas of improvement
Which of the following is NOT one of the MOST common uses of Twitter? b . Making a business contact.
The answer would be false you can do more than one at a time
Answer:
Federal Bureau of Investigation
Explanation:
LEO seems to be a protected intranet network developed as well as operated as a resource for networking, accessing task-critical information, delivering or engaging through online training services, as well as engaging in technical or contextual conversations for concern. The Federal Bureau of Investigation seems to be accountable for managing LEO.
- Option A is not correct according to the statement because It is primarily responsible for organizing as well as conducting US narcotics operations including domestically as well as internationally.
- Option C is not correct according to the statement because it is responsible for terrorist attacks and other disasters.