taking multiple inputs in python 3 code example
Example 1: taking multiple input in python
only_str = list(input().split()) #only str
define_type = list(map(int, input().split())) #int, float, str
Example 2: input two numbers in python in a single line
inputs = []for i in range(3): # loop 3 times inputs.append(input())