Answer:
In Python:
mystr = input("Sentence: ")
mylist = []
word = ""
for i in range(len(mystr)):
if not i == len(mystr)-1:
if not mystr[i] == " ":
word+=mystr[i]
else:
mylist.append(word)
word = ""
else:
word+=mystr[i]
mylist.append(word)
print(mylist)
Explanation:
Prompt the user for an input sentence
mystr = input("Sentence: ")
Initialize an empty list
mylist = []
Initialize each word to an empty string
word = ""
Iterates through the input sentence
for i in range(len(mystr)):
If index is not the last, the following if condition is executed
if not i == len(mystr)-1:
If the current character is not space
if not mystr[i] == " ":
Append the character to word
word+=mystr[i]
If otherwise
else:
Append word to the list
mylist.append(word)
Set word to an empty string
word = ""
If otherwise; i.e. If index is not the last
else:
Append the last character to word
word+=mystr[i]
Append word to the list
mylist.append(word)
Print the list
print(mylist)
Answer: All of the above
Explanation: Distance learning which is also known as distance education/online learning in which the education is provided via online lectures, online classes or e-learning .Students are provided recording of the lectures or online tutoring is given.This learning is helpful to many people who having issues like can only study in weekend, can study only after work/job,etc.
This is a flexible way of providing education and communication is also easy in it as the student can watch the video lecture whenever they want.The content of the lecture is also interactive so that student can understand it easily and no doubts arise.
A page break starts a new page. A column break starts a new column, while a section break indicates a change in formatting within the same page.
The answer is a 3D Printer
Answer:
Yes. That's what the internet is all about. Saving resources through interconnected computers.