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:
noise is the correct answer for the above question.
Explanation:
- The noise is a term which is a barrier in the network of communication. It forces the signals to make a delay in data transfer. It is caused by any device or mechanism.
- For example, if any data is transferring, but some device makes fluctuation in wire, then the communication voltage is disturbed.
- The above question asked about the term which born with the help of some devices and it caused the fluctuation in the voltage. So the term is known as noise.
Answer:If you need to use arrows in a chart, which feature or menu option of a word processing program would you use?
A.
Picture
B.
Shapes
C.
Clip Art
D.
SmartArt
E.
Charts
Explanation:
There might be insufficient storage space so your computer usually takes a longer time to load.The bigger your file, the longer it takes to load. So the solution is to clear up your storage space
Answer:
Explanation:
The language I use would do it as
h1$ = copy(h$,1,3)
This may not satisfy you, because your language could be quite different. You might want an input statement of some kind that would define h$. This assumes that somewhere h,h1 are declared as strings.
You also have to know how to read an input. My language uses readln(input,h)
and how to write it on the screen write(h1) or writeln(h1)