menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Taking Inp...
source image

Medium

2w

read

181

img
dot

Image Credit: Medium

Taking Input in Python — The Easy Way to Talk with Your Code

  • Python provides the input() function to enable interaction with your code.
  • The input() function always returns a string, even for numbers.
  • The split() method can be used for separating input by spaces or a custom separator.
  • The map() function can be used to convert a list of strings into a list of integers.

Read Full Article

like

10 Likes

For uninterrupted reading, download the app