Answer:
The solution code is written in Python 3
- digits = input("Enter 9 digits: ")
-
- multiplier = 1
- total = 0
-
- for x in digits:
- total += int(x) * multiplier
- multiplier += 1
-
- checksum = total % 11
-
- if(checksum == 10):
- print(digits + "X")
- else:
- print(digits + str(checksum))
Explanation:
Firstly, use input function to get user input for 9 digits (Line 1)
Next we can use a for-loop to estimate the summation (d1 * 1 + d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5+ d6 * 6 + d7 * 7 + d8 * 8 + d9 * 9) ( Line 6-8)
Then only apply % operator to get the remainder of total and get the checksum (Line 10)
Next create if and else statement to print the digits string joined with X if checksum is 10 else join digits string with checksum value (Line 12 -15)
Answer:
The output is: Your cost is 100
Explanation:
Given
The above code snippet
and

Required
Determine the output of the code
if cost < 70 or cost > 150
The above condition checks if cost is less than 70 or cost is greater than 150
This condition is false because 100 is neither less than 70 nor is it greater than 150
So, the else statement will be executed.
discount = cost
Which means
discount = 100
So, the print instruction will print: Your cost is 100
Answer: The number of players and spectators present, as well as the maximum number of players and spectators allowed.
Explanation: players
The answer to this problem is Linux
The keyboard combinations that can be used to capture and print out a one-slide presentation using MSWord, showing everything on the screen is Function key + PrtScr
<h3>What is a Key Combination?</h3>
This refers to the procedure that is used to combine two or more keys on the keyboard to execute a task.
Hence, we can see that the procedure that can be used to carry out the operation is:
- Enter the screen you want to capture and print
- Press the Function key, followed by the PrtScr. Please note this can vary slightly, depending on the keyboard.
The hardware devices that would be needed to be set up by the system analyst at a computer laboratory are:
- System Unit
- Laptops/Monitor
- Power adapters
- Ethernet cables, etc
The database applications that can be recommended by the system analyst are:
The five word processing packages that are likely to be installed are:
- G00..gle Docs
- MsWord
- MSOffice
- Dropbox Paper
- Corel WordPerfect
Read more about word processing here:
brainly.com/question/985406
#SPJ1