Question: how do i make a system which asks user to enter number of operations it wanna perform. and for each operation entered perform one of
steps = int(input("How many steps do you want to perform?")), names = [] for step in range(steps): names.append(str(input("Enter the command")>> for command in names: for add in command.split(): if 'add' in add: print(command) for commands in names: for remove in commands.split(): if 'remove' in remove: print(commands)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
