Answer:
Explanation:
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
PLEASE MARK BRAINLIESTPLEASE MARK BRAINLIEST
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).
The answer is D Compress
I hope this helps
I think the answer is a but I am not for sure
The three best practices that can help protect against social engineering are:
- Be watchful of instructions to click on enticing web links.
- Educate employees regarding policies.
- Avoid disclosing your login details.
<h3>Social engineering</h3>
This refers to online crimes that are socially engineered or designed to trick victims into providing certain information or carrying out certain actions that would cause unknown harm to them or others.
For example, they may be tricked into revealing their security information or other personal information via email correspondence.
You can learn more about social engineering here brainly.com/question/26072214
#SPJ12