Answer:
You are gonna waste money and it might not be the best idea
Explanation:
Answer:
Social media positively affects and impacts the process of globalization. ... Global communities is a social infrastructure tool and as social media helps in strengthening social relationships and bringing people and communities together it leads to creating a string global community.
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:
D.
Explanation:
In combinational circuits, the current output values are always the same for the same set of input values, regardless the previous values.
We say that combinational circuits have no memory, or that the circuit has no feedback from the outputs.
For sequential circuits, on the contrary, the current output values are not based in the current input values only, but on the previous output values as well.
So, the fact of having a defined set of input values at a given moment, doesn't guarantee which the output values will be.
We say that sequential circuits have memory, or that they have feedback from the outputs.
Examples of these type of circuits are R-S, J-K, D or T flip-flops.