Answer:
The answer is Break
<u>Explanation:</u>
When break statement is occurred then, it immediately exits from the loop and executed the statement after the loop without raising any kind of error.
<u>The situation after entering of a value by a user
</u>
- If the user entered incorrect value then it will exit from the loop.
- If the user entered correct input value, then it will run the loop for the further values.
Answer:
system itself.
Explanation:
In Online Data Extraction data is extracted directly from the system itself.
Answer:
Sorted array will be:-
3 5 5 9
Explanation:
In Selection Sort algorithm it sorts the array by repeatedly finds the minimum in the array form the array that is unsorted and swaps it with the value at the first position.
The unsorted array:- 5 3 9 5
In first iteration
minimum is 3.
3 will be swapped with 5.
Now the array is 3 5 9 5
sorted array 3
In second iteration
unsorted array is 5 9 5
sorted array 3 5
and the minimum from it is 5
No swapping will occur.
In third iteration
unsorted array is 9 5
minimum is 5
sorted array 3 5 5
swap it with 9.
Now the array is sorted.
3 5 5 9
Answer:
Gestures
Explanation:
Gestures is the name of the Mac feature that makes these finger motions available to perform specific functions on a Mac OS system:
Answer:
import re
with open("../../Downloads/Tweets.txt","r", encoding="utf-8") as tweets:
myfile = tweets.readlines()
for item in myfile:
item = item.rstrip()
mylist = re.findall("^RT (.*) ", item)
if len(mylist) !=0:
for line in mylist:
if line.count("#") >=1:
ln = line.split("#")
dm = ln[1]
print(f"#{dm}")
Explanation:
The python source code filters the document file "Tweets" to return all tweets with a hashtag flag, discarding the rest.