<u>The Virus:</u>
A virus can be defined as a malicious program, that breaks into the computer without the consent of the user and sometimes even without the knowledge of the user. Viruses are also of different types and categories.
There are certain kinds of malware and spyware that enter a computer and start encrypting the user's data. Generally, a user gets to know about the existence of a virus when the computer programs begin to misbehave. Some files get corrupted and the user can't access them anymore.
Some files and programs may also get deleted as if they weren't even present on the system. But in case someone has installed good anti-virus software, they will get a notification as soon as some file containing some kind of virus enters the computer.
What would be the correct cable would be an DSL cord for the phonelines.
Press on an application, and press Ctrl and D together on a keyboard which means delete or unistall.
Is the answer supposed to be more specific?
Answer:
Following are the program in the Python Programming Language:
def check(num): #define function
if(num.isdigit()): #set if statement
return "yes"; #return yes if condition is true
else:
return "no";# return no if condition is false
string=input("Enter the numbers 0-9: ") #get input from the user
print(check(string)) #print and call the function
Output:
Enter the numbers 0-9: 1995
yes
Enter the numbers 0-9: 42,000
no
Explanation:
Here, we define a function "check()" and pass an argument in its parameter "num" inside the function.
- we set if-else conditional statement and check the value stored in the variable "num" is the digit by using built in function "isdigit()" then return "yes".
- Then, otherwise it return "no".
Finally, we get the input from the user in the variable "string" then, we call the function through "print()" function.