Answer:
It provides detailed information about particular tasks within the program
A series of instructions written in a programming language for a computer to follow is referred to as a computer program.
<h3>
What is program?</h3>
Software, which also contains documentation and other intangible components, comprises computer programs as one of its components.
The source code of a computer program is the version that can be read by humans. Since computers can only run their native machine instructions, source code needs to be run by another software.
Using the language's compiler, source code may be converted to machine instructions. (An assembler is used to translate programs written in machine language.) An executable is the name of the generated file.
Therefore, A series of instructions written in a programming language for a computer to follow is referred to as a computer program.
To learn more about program, refer to the link:
brainly.com/question/11023419
#SPJ1
When a machine says function suppressed after scanning a ticket, it implies that you have won some certain amount.
<h3>What is lottery wins?</h3>
This term connote that a person has a winning ticket in a lottery that is often owned by a government.
Note that if a winning ticket is scanned, the terminal often shows a message just for you and that suppress function implies that your the ticket has won something.
Learn more about lottery from
brainly.com/question/9216200
Answer:
def validateCreditCard(x):
if type(x)==str and len(x) == 8:
print("Valid credit card number")
else:
print("Invalid credit card number")
validateCreditCard("43589795")
Explanation:
Run the code on your text editor(vs code, sublime, pycharm ) you will get your desired response. If your input is not of type string and not up to 8 digit you will get the response "invalid credit card number" but if it is of type string and up to 8 digit you will get "Valid credit card number".
But remember python works with indentation so when you are transferring this code to your text editor it will run properly well.
I defined the code using the conventional pattern "def"
After defining the function you create a brackets (x) to accommodate your argument x and end it with a semi colon.
Then i use "if" statement to make sure only string argument and 8 digit value will be accepted to print a "valid credit card". if your argument does not pass the if statement condition it will print out the else statement condition which is "Invalid credit card number"
Finally, you have to call your function and test various values.
<span>The capacity of a communication channel is measured in gb and gps.</span>