Incorrect data can lead to unexpected program execution results. Data entry errors can be reduced by only accepting valid input, e.g., if a number must be entered, alphabetic characters are ignored. After data validation, error messages can be prompted to the user, requiring him to enter the data again.
=(Happy)&(Birthday) this is how it would be formatted
Answer:
Passive security attack are the unauthorized disclosure in the network attack. In this type of security attack a system are use for monitoring and sometimes scanning the open port. It basically include the monitoring the unprotected data and traffic analysis.
On the other hand, active security system modify the transmitted data and gain the unauthorized access from the computer system.
This type of security attack basically monitor the file transfer and electronic mail from the attacks which can be pass in the form of viruses in the computer system.
Answer:
value=int(input("Enter the number up-to the user wants the Fibonacci series: "))
a=0
b=1
c=1
for x in range(value):
print(c,end=" ")
c=a+b
a=b
b=c
Output :
- If the user input 5, then the output is "1 1 2 3 5".
- If the user input 10, then the output is "1 1 2 3 5 8 13 21 34 55".
Explanation:
- The above defined a python program which is used for the Fibonacci series.
- The first line of the program is used to instruct the user and take the input from the user.
- Then the for loop executes up-to that range value.
- Then in the for-loop, the two variable needs to store the current value and previous value which is used to give the series after addition.