Answer:
- def calcSum(d):
- sum = 0
- for x in d:
- sum += int(x)
- return sum
-
- digits = input("Please enter your digits: ")
- print(calcSum(digits))
Explanation:
The solution code is written in Python.
Firstly, create a function that take one input digit string (Line 1).
In the function, create a sum variable with initial value 0.
Use a for loop to traverse through each character in the digit string and in the loop use int method to convert each character to integer and add it to sum variable (Line 3-5) and return the sum as output.
Next, use input function to prompt user enter a digit string (Line 7).
Lastly test the function by passing the input digit as argument and print the result (Line 8).
Answer:
Power down your Chromebook by doing a hard reset.
Explanation:
The first thing to check for when your Chromebook won't turn on is a dead battery. Plug the unit in via AC charger and let it charge for at least 30 min to an hour and try turning it on again.
Answer:
first question option is d
second is false
third is mark
Explanation:
5-The following are generic font
- serif
- sans-serif
- cursive
- fantasy
- monospace
6 - We can change image size using height and width. so it is false.
7 - we can highlight text using <mark> Marked text </mark>
On Windows, if you use CMD, there is a command called 'move' and using a Linux terminal, it's 'mv'
Answer:
A.LAN
Explanation:
LAN (Local area Network) is a type of data communication network which covers a small geographical area such as a school compound. This network can accommodate variety of electronic devices including computers, laptops, file servers, printers and modems. In this example, a room can be identified for the project to consist of more than 20 computers sharing a file server and a single hard drive.
Best wishes!