Answer the question
In order to leave comments, you need to log in
What is the correct way to use the map() function?
In my mind, I couldn't figure out how. Please help, I will be grateful
---------------------------------------------------- -------------------------------------------------- -------------
I need to take numbers from a file and transfer them to a list. Yes, you can, of course, with the with argument, but I need less code, and the map () function is just short and simple.
-------------
num.txt
10 20
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question