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:
electronic notebook or a pc?
Explanation:
sorry if its wrong of doesnt help
The use of virtual reality technology, especially for remote control of machinery or for apparent participation in distant events.
Answer:
All of them apply
Explanation:
Green computing is the process of using environmental friendly computers and its associated components, accessories and other supporting devices.
Virtualization helps us to reduce the number of hardware that we are using.
Grid computers helps us to reduce the use of number of machines and thus supporting the environment in a right way.
Recycling process. Any material that we use needs to be recycled effectively and also in an environmental friendly way.
Autonomic computing uses eco-friendly system which in turn hugely support green computing.
Answer:
im pretty sure it MM/DD/YYYY
Explanation: