Advanced input() handling is used to read input directly into several variables, for example:
x, y = input().split()
Use it to print the next message with the two input values: "x of y"
Advanced input() handling is used to read input directly into several variables, for example:
x, y = input().split()
Use it to print the next message with the two input values: "x of y"
Sample Input 1:
state MassachusettsSample Output 1:
state of MassachusettsSample Input 2:
Queen ScotsSample Output 2:
Queen of ScotsCreate a free account to access the full topic