I found it, thanks man!
"This should be 1: The car Ford has been sold"
"This should be 2: The car Volvo has been sold"
"This should be 3: The car BMW has been sold"
cars = ["Ford", "Volvo", "BMW","test"] for r in range(len(cars)): print(f"The car {cars[r]} has been sold")Follow up question though, I want to show that "Ford = 1" and then "Volvo" = 2 etc.:
cars = ["Ford", "Volvo", "BMW","test"] for r in range(len(cars)): # print(f"This should be in {r}") -- This code does not work but you see what I try to do? print(f"The car {cars[r]} has been sold")Should give:
"This should be 1: The car Ford has been sold"
"This should be 2: The car Volvo has been sold"
"This should be 3: The car BMW has been sold"