How to get both int and string inputs from one input line in python Example: For the given line
10 I love coding
i want to get the 10 and I love coding as separate variables. I tried input().split()
but as there is space between I and love there arises a confusion