2.2 Write a brief description of the elements listed below.
1) input()
2) else
3) while
4) %
5) ==
Answers
Answer:
okay thanks for your help and I will be in the next week and I am not sure if it would be great to hear from
you will be in touch with you and the other day that you can see the attached file is scanned
Answer:
Input() :-
The input() function allows a user to insert a value into a program. input() returns a string value.
Else :-
Python allows the else keyword to be used with the for and while loops too. The else block appears after the body of the loop. The statements in the else block will be executed after all iterations are completed.
While :-
Python While Loop is used to execute a block of statements repeatedly until a given condition is satisfied.
% :-
The %s operator lets you add a value into a Python string. The %s signifies that you want to add a string value into a string.
== :-
== is for value equality. It is used to know if two objects have the same value.
hope it helps you and please mark my answer as brainliest if it was helpful to you.