taking multiple input in python
only_str = input().split() #only str
define_type = list(map(int, input().split())) #int, float, str
taking multiple input in python
only_str = input().split() #only str
define_type = list(map(int, input().split())) #int, float, str
input two numbers in python in a single line
inputs = []for i in range(3): # loop 3 times inputs.append(input())
how to take input of something in python
name = input("What is your name? ")
print("Hi, " + name)
how to input a full array in one input in python
n = int(input())
arr = input() # takes the whole line of n numbers
l = list(map(int,arr.split(' '))) # split those numbers with space( becomes ['2','3','6','6','5']) and then map every element into int (becomes [2,3,6,6,5])
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