HOW TO GET INPUT WITH SPACES IN PYTHON | input().split() AND map() EXPLANATION
18.1 هزار بار بازدید -
4 سال پیش
-
In this video we see
In this video we see how to get input with spaces in Python. We basically take input as string - convert it into a list by splitting the string with spaces - use map function to convert the elements to required datatype (int, float, etc)
-------------------------------------------------------------------------------------------------------------------------
You can subscribe for more such videos coming up as it is free :)
-------------------------------------------------------------------------------------------------------------------------
Stay tuned and keep learning!!
--------------------------------------------------------------------------------------------------------------------------
^_^
4 سال پیش
در تاریخ 1399/11/09 منتشر شده
است.
18,136
بـار بازدید شده