#pythonのgw resultados de búsqueda
634から6を、38214から8を返す関数。 def max_digit(number: int) -> int: return max(int(digit) for digit in str(number)) mapを使うと return max(map(int, str(number))) 私はmapが好きだ。 #PythonのGW #CheckiO
#PythonのGW #CheckiO hello world を Hello World にする関数 def to_title_case(sentence: str) -> str: return " ".join(map(str.capitalize, sentence.split())) " ".join(map( あたりの書き方が新鮮!
Pythonってすっきりしてるなあ。 def sum_numbers(text: str) -> int: return sum(int(word) for word in text.split() if word.isdigit()) こちらも美しい。 return sum(map(int, filter(str.isdigit, text.split()))) #PythonのGW #CheckiO
おおお、map&lambda! def to_title_case(sentence: str) -> str: return " ".join(map(lambda word: word.capitalize() + "!", sentence.split())) print(to_title_case("hello world")) #PythonのGW #CheckiO
Pythonってすっきりしてるなあ。 def sum_numbers(text: str) -> int: return sum(int(word) for word in text.split() if word.isdigit()) こちらも美しい。 return sum(map(int, filter(str.isdigit, text.split()))) #PythonのGW #CheckiO
634から6を、38214から8を返す関数。 def max_digit(number: int) -> int: return max(int(digit) for digit in str(number)) mapを使うと return max(map(int, str(number))) 私はmapが好きだ。 #PythonのGW #CheckiO
おおお、map&lambda! def to_title_case(sentence: str) -> str: return " ".join(map(lambda word: word.capitalize() + "!", sentence.split())) print(to_title_case("hello world")) #PythonのGW #CheckiO
#PythonのGW #CheckiO hello world を Hello World にする関数 def to_title_case(sentence: str) -> str: return " ".join(map(str.capitalize, sentence.split())) " ".join(map( あたりの書き方が新鮮!
Something went wrong.
Something went wrong.
United States Trends
- 1. #Fivepillarstoken 1,380 posts
- 2. Cyber Monday 32K posts
- 3. #IDontWantToOverreactBUT N/A
- 4. #MondayMotivation 7,405 posts
- 5. Good Monday 37.3K posts
- 6. TOP CALL 10.8K posts
- 7. Alina Habba 10K posts
- 8. Victory Monday 1,028 posts
- 9. Token Signal 2,537 posts
- 10. Check Analyze N/A
- 11. #MondayVibes 3,173 posts
- 12. Mainz Biomed N/A
- 13. Market Focus 2,292 posts
- 14. New Month 399K posts
- 15. #GivingTuesday 1,799 posts
- 16. Clarie 2,667 posts
- 17. John Denver 1,706 posts
- 18. Home Is Where the Heart 4,888 posts
- 19. Rosa Parks 3,103 posts
- 20. Happy 1st 26.2K posts