Code Challenge - Python 002 Beginners - Return capital letters

preview_player
Показать описание
Welcome to Python code challenges, Python challenge 002. In this Python code challenge series we hope to compliment the existing Python courses on this channel. Code challenges are for people looking to sharpen their Python skills first at a beginner's level with the ambition to then move into more advanced challenges as we progress.

✨Challenge:
Write a function named capitals. The function should take a single parameter. Your function should return a list of all the capital letters from a string that is passed into the function.

Notes/Constraints:
None

00:00 Introduction
01:23 Solution
05:06 Alternative solutions
10:37 Testing

Code Repository:

🏅 Code Challenges - Python Beginner Playlist:

🏅 Python Beginners Course:
Code repository:

🏅 Python Beginners + Course :
Code repository:

🏅 Python Intermediate Course:
Code repository:

🐱‍🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

Really love ur content sir. I completed ur discord bot project sincerely following ur content sir.plz keep going

yashasbharadwaj
Автор

Great video as usual. Thank you so much

MalekBenkouider
Автор

Why testing for upper?? That's totally unnecessary and not pythonic. Just return: [c.upper() for c in word]
This content si good for Indians, but lacks the last mile to be really useful for production.

JakubYTb