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:
Option A is the correct answer.
Explanation:
Answer:
ICT is a broad subject and a concept of evolving.It covers any product that will store, retrieve, manipulate, transmit, or receive information electronically in a digital form.
Explanation:
HOW WE USE ICT IN OUR DAILY LIFE
COMMUNICATION
JOB OPPORTUNITIES
EDUCATION
SOCIALIZING
POSITIVE IMPACT OF ICT IN OUR DAILY LIFE
1.Easy to access information:
I use ICT to access more information that I need for everyday schooling.Because Internet has more faster than searching to a school library. Even the deadline of my research is coming, I can make it fast with the help of ICT
2. Education: distance learning and on-line tutorials. New ways of learning, e.g. interactive multi-media and virtual reality.
3.Free access of sharing like photo,video,and message
Answer:
B. style=text-align: right
Explanation:
text-align is a CSS property having 5 types of values. Each of values define below.
left - Aligns content to left.
right - Aligns content to right.
center - Centers the content.
justify - Depends on the width of the content, it will align itself to both left and righ
inherit - It specifies the the value of text-align should be taken from parent element.
Answer:
Computer hardware is virtually useless without computer software. Software is the programs that are needed to accomplish the input, processing, output, storage, and control activities of information systems.
Explanation: