input in one line python

# Reads two numbers from input and typecasts them to int using 
# map function
x, y = map(int, input().split())

3.5
2
Sonny Ordell 100 points

                                    a, b = [int(x) for x in input().split()]
print(a+b)

3.5 (2 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
receiving two different inputs in python how to get multiple value in single input python how to get 3 python input in one line how to get python input in one line python take input line by line python multiple input parameters how to get innput python from single line take input in one line python take multiple input in python one line python input take multiple input in python a,b,c scan multiple inputs in python one line input in python how to make multiple inputs in a loop in python using input in python to enter several values how to take 3 inputs in a single line in python how to get multiple inputs from user in python python function with two inputs how to take one line input in python take multiple inputs as list in python how to take multiple inputs in list in python how to get input in single line in python python take 2 inputs how to write input in a single line in python how to take input in python in single line how to have multiple inputs next to each other in python3 3 inputs in one line python python two inputs get multiple inputs in one line py how to take n inputs in one line in python how to get two inputs in one line in python Taking multiple inputs in Python 3 input in one line python get multiple inputs python how to input two values in python store multiple inputs in single variable in python how to have multiple inputs on one line in python python two user inputs input function in python for entering multiple values input multiple variables python how to take multiple inputs in python using for loop take multiple set of two inputs in python get multiple value input python how to take multiple input python How to take multiple input form python multiplte input and multiple output python multiple string input in python taking multiple inputs in python and then adding python handle multiple types input multiple input and multiple output in function python how to take multiple inputs in a single line in python? how to take multiple inputs in python at same time take multiple inputs in python how to get multiple input from user in python input multiple inputs at oncepython how to enter two inputs in python how to take two inputs in one line in python? python input multiple values how to take multiple inputs at a time in python multiple input in python how to take multiple input in python read two inputs in python how to take multiple user input in function in python python take multiple elements from input input 2 values python several inputs in one line python pyhton function with multiple input how to get multiple inputs in python how to take multiple inputs in python accept multiple inputs python take multiple inputs python take multiple string inputs python take 2 inputs in python how to take 2 inputs in one line in python python function two inputs python take multiple inputs from user python input multiple python 2 inputs python multiple inputs how to take multiple inputs in a single line pyhpn multiple inputs in python
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source