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))
Answer:
II and III are correct
Explanation:
The software that the question is referring to here is the computer-aided design (CAD) software called Inventor by Autodesk.
I. Hold the middle mouse button to rotate the model on the screen. False
This will pan the model instead of rotating.
II. To pan the model, hold down the Ctrl key and the middle mouse button. True
Some versions need you to hold down the ctrl key and the middle mouse button to pan, while others is just the middle mouse button then you drag the mouse around. The middle mouse is the scroll wheel on most mice today. You basically, just hold down the scroll wheel as you move the mouse to pan the model.
III. Use the mouse scroll wheel to zoom in and out of the model. True
To zoom in or out, one will need to rotate the mouse scroll wheel forward to zoom in and backward to zoom out.
<span>Sizing handles are used in Microsoft Word to resize an object.</span>
The difference is that Dropbox offers just 2 GB free storage space while Microsoft's OneDrive gives 5 GB in terms of free storage space.
<h3>What is Microsoft OneDrive?</h3>
This is known to be a file hosting software and it also does synchronization service given by Microsoft.
Some other fundamental difference between Dropbox and OneDrive in terms of Business is that Dropbox is known to often give unlimited storage for about $20 to paid user/month while OneDrive is said to only give unlimited storage for $10 per paid user/month.
Learn more about Dropbox from
brainly.com/question/20935392
Answer:
Explanation:
bool isPalindrome(string str)
{
int length = str.length();
for (int i = 0; i < length / 2; i++) {
if (str [i] != str [length – 1 – i]) {
return false;
}
}
cout << str << "is a palindrome";
return true;
}