Answer:
While statements determine whether a statement is true or false. If what’s stated is true, then the program runs the statement and returns to the first step. If what’s stated is false, the program exits the while and goes to the next statement. An added step to while statements is turning them into continuous loops. If you don’t change the value so that the condition is never false, the while statement becomes an infinite loop.
If statements are the simplest form of conditional statements, statements that allow us to check conditions and change behavior/output accordingly. The part of the statement following the if is called the condition. If the condition is true, the instruction in the statement runs. If the condition is not true, it does not. The if statements are also compound statements. They have a header (if x) followed by an indented statement (an instruction to be followed is x is true). There is no limit to the number of these indented statements, but there must be at least one.
Answer: it means if you give a bad input it will result in a ad output.
Explanation:
It has n acronym GIGO which refers to how the quality of an output is determined by the quality of input.
Garbage is trash info... or input. And grabage out is the trash output.
Answer:
C. Footer
Explanation:
A footer is typically found at the bottom of all web pages and it comprises of information such as disclaimers, copyright, legal which are displayed visibly for all visitors to see.
Generally, a website footer is the direct opposite of a website header in relation to positioning or location; a footer is always found at the bottom while a header is always found at the top of a web page.
Since Mikayla is researching copyright information for the images found on a website, she should access the website footer because it primarily provides information about the legal name of the company that owns the website and information about what country they're located in, as well as links to other relevant resources such as call to action, maps, contact forms, newsletter signup etc.
Answer:
Invalid, must contain one number
Explanation:
The program will assign ILOVEPYTHON to the password variable and start checking the cases stated below.
password.isalpha(): is true for the given password value and the code will execute, the display will show "Invalid, must contain one number." and it will bypass the elif and else statements.
I hope this answer helps.