Sign up to request clarification or add additional context in comments.
Comments
1
while true is an infinite loop, therefore it will always take an input and print the output. value stores the value of a user input, and print prints that value after. This will always repeat.
=is an assignment operator which can't be used inwhileloop, it needs a boolean condition