Answer:
The program is as follows:
word = input("Enter a word: ")
if word:
if len(word) <= 4:
word = word[::-1]
else:
word = word[0]+word[1]+word[-2]+word[-1]
print(word)
else:
print('empty!')
Explanation:
This gets input for word from the user
word = input("Enter a word: ")
If input is not empty
if word:
This checks if the length is less than or equal to 4 characters
if len(word) <= 4:
If yes, this reverses the word
word = word[::-1]
If otherwise,
else:
This gets the first, second, second to last two characters
word = word[0]+word[1]+word[-2]+word[-1]
Print the new string
print(word)
Print empty, if input is empty
<em>else:
</em>
<em> print('empty!')</em>
Answer: A.F.S- known as Andrew File System.
Explanation:
This is a distributed network file system created to handle large multiclient database. It support Information sharing on a large scale by reducing client-server communication.
Answer:
Point, Line, Shape,Form, Color, Value, and Texture.
Explanation:
The elements of design, are the building blocks used by the designers to create the designs. ...
Point, Line, Shape,Form, Color, Value, and Texture.
Answer:
Security administrator can use power shell command line or the GUI to "Promote a windows server to a domain controller".
Explanation:
A domain controller is a type of server that is used to authenticate the access of the system to the users to resources of windows. Power shell is an important tool that is used to perform different tasks of administration. We can user this tool as security administrator to Promote a Windows server to a domain controller.