That is a corqet tool it is used for fixing tires
Answer:
def recursive_func():
x = input("Are we there yet?")
if x.casefold() == 'Yes'.casefold():
return
else:
recursive_func()
recursive_func()
Explanation:
We define the required function as recursive_func().
The first line takes user input. The user input is stored in variable x.
The next line compares the user input to a string yes. The function executes the else block if the condition isn't met, that is a recursive call is executed.
IF condition returns the function. The string in variable X is compared to a string 'Yes'. the casefold() is a string function that ignores the upper/lower cases when comparing two strings. (This is important because a string 'yes' is not the same yes a string 'Yes' or 'YES'. Two equal strings means their cases and length should match).
Answer:
In this situation OR operator are used
In this operator if one input is one then the out put will be one or if one condition is true and one is false the result is true.The out put is always one in this truth table except input output both are zero
Truth table of OR
A B C
0 0 0
0 1 1
1 0 1
1 1 1