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)
Goto ----> cash.gg to redeem your robux PRIZE!!!!
Answer:
None, drivers are hardware specific, if both devices share the same hadware manufacurer they tend to have the same drivers.
A driver is a software component that lets the operating system and a device communicate with each other. So asking for a difference in drivers is as asking the difference in hardware in both devices, though one tends to be more intergrated they are all the same in low level functions
Also drivers might not even communicate directly with the device but send a request. thats why some drivers can be written directly into an operating system.