✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The following program is supposed to print a message any time the user enters two consecutive values that are the same. What line of code must be inserted in the blank so that the program will achieve this goal?
value = int(input("Enter a value: ")inputStr = input("Enter a value: ")while inputStr != "" : previous = value value = int(inputStr) ____________________ print("Found consecutive values that are the same") inputStr = input("Enter a value: ")