Prepositional genitive

Report a typo

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 Massachusetts

Sample Output 1:

state of Massachusetts

Sample Input 2:

Queen Scots

Sample Output 2:

Queen of Scots
Write a program in Python 3





___

Create a free account to access the full topic