take space separated int input in python
inp = list(map(int,input().split()))
take space separated int input in python
inp = list(map(int,input().split()))
how to take space separated input in python
_input = input() # Get input
_input = "thing1 thing2, thing3"
space_split = _input.split() # ["thing1", "thing2,", "thing3"]
comma_split = _input.split(",") # ["thing1 thing2", "thing3"]
how to take space separated input in pyhon dicationary
dic = {}
for index, value in enumerate(input().split()):
dic[int(value)] = int(index)
how to take input in python3 separated by space
inp = list(map(int,input().split()))
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us