Answers for "get 2 inputs in python"

3

taking multiple input in python

only_str = input().split() #only str
define_type = list(map(int, input().split())) #int, float, str
Posted by: Guest on February-21-2021
1

taking input of n integers in single line python in a list

arr = list(map(int, input().split()))
Posted by: Guest on August-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language