Python interview question #37: Whitespace-separated numbers

preview_player
Показать описание
If you get a string containing whitespace-separated numbers, how can you turn them into a list of integers? Answering this question requires knowing how to combine several different techniques, including list comprehensions.

In this video, I show you how to answer this question, and also the thinking behind my solution. If you're asked a similar question during a Python job interview, you'll know what to say.

Рекомендации по теме
Комментарии
Автор

🤔 Understand how to use comprehensions here?

👇If you still have questions, just drop them in the comments — I read them all.

📝 Want the course notebooks and practice materials?

ReuvenLerner
join shbcf.ru