What's the rest of the question? Like A - B - C - D?
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).
A computer’s motherboard has a series of slots and connectors. Slots allow daughter boards to be plugged directly while connectors allow communication through cables with other peripheral devices. CPU sockets, Hard Drive connectors, Memory sockets, and Power connector are examples of components that can be connected internally in some way to the motherboard. Other physical devices include RAM, hard disks, and graphics card.