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:
The answer is b) Right-clicking the program icon, clicking Properties, and then applying the required settings on the Compatibility tab.
Explanation:
If you have to run an application on a specific operating system, you have to configure the compatibility by accessing in its Properties, then Compatibility tab, and configure the operating system properly.
9) Which date is assigned the serial number of 1?
A. January 1, 1700
B. January 1, 2000
D. January 1, 1800
Answer:
Software, instructions that tell a computer what to do The term was coined to differentiate these instructions from hardware the physical components of a computer system.
Explanation:
Answer:
What data? Also, if it's median wouldn't that be Mathematics? edit-im sorry im d-u-m-b i thought you meant there was numbers and data but you mean the meaning of median
the median in data is the middle number and if its an even number you add the two middles together and divide by two
again sorry