Answer:
<u>Explanation:</u>
An input statement using the input function at the shell prompt is as follows:
If a prompt asks for a input, a number is to be added
num = input ('Number: ')
num = num + 1
print(num)
Explanation of results: This gives error at line num= num + 1 as cannot convert int object to str implicitly
According to the requirements of the client, the printing solution should print three sheets of paper with identical information on each page with a single pass of the printer.
<u>Explanation:</u>
Furthermore, the client requests that it should take the least amount of time and effort to maintain. The printer type according to the requirements should be an impact printer.
Impact printers suit the needs of the client and are easy to maintain due to the low cost. Also, they print by making physical contact with the paper and have a significant speed of printing.
Answer:
Following are the program in the Python Programming Language
#set variable to input sentence to replace words
sen = input()
#split that sentence
sen = sen.split()
#set variable to input whole sentence
get = input()
#set the for loop to replace words
for i in range(0, len(sen), 2):
#check condition when words of sen is in get
if sen[i] in get:
#then, replace words
get = get.replace(sen[i], sen[i+1])
#print the whole string after replacing
print('\n',get)
Explanation:
<u>Following are the description of the program</u>.
- Set a variable 'sen' that get a sentence for replacing the word.
- Split that sentence by split() method and again store that sentence in the following variable.
- Set a variable 'get' that gets the whole sentence from the user.
- Set the for loop for replacing words then, set the if conditional statement that checks the condition that the variable 'sen' in the variable 'get' then replace the words.
- Finally, print the whole sentence after the replacement.
Answer: Maintenance. This is the stage where software is updated and hardware issues are fixed if and when they occur. Retirement. In this final stage, hardware becomes unusable or no longer needed and it needs to be properly removed from the fleet
Explanation:
A technology habit that I practice today that I realize will not help me to be successful is playing games on my phone. It’s important to stop doing this because instead of playing a game I could be doing more helpful things, like reading a book.