Skip to content
  • Tutorials
    • c programming
      • libraries
    • c++
    • Linux
    • Python
    • batch programming
    • Technology
  • IDE
  • Tools
python map input 1

python map input

June 11, 2022 by Anurag batra
list_of_inputs=list(map(int,input().split()))

Here is what the above code is Doing:
1. We are taking a list of inputs from the user.
2. We are converting the input to integer.
3. We are storing the input in a list.
4. We are printing the list.

Categories Python Examples
Post navigation
pandas shift columns down until value
how to only print final iteration of a for loop pyhton
© MyEduKit - 2022 . All Rights Reserved.