Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Write and Test a Python Function: Interview Practice (Overview)

Give Feedback

Whether you’re looking to ace your coding interview or simply to level up your development skills, solving coding challenges can help you grow as a programmer. In this Real Python Code Conversation, Philipp challenges Martin to write a function that doubles each character in a string. Through their conversation, you’ll learn how to tackle a coding challenge and stand out from the pack in your job search.

In this video course, you’ll learn how to:

  • Use functions to write reusable, maintainable code
  • Communicate your thoughts in a coding interview
  • Use if __name__ == "__main__" to build multipurpose code
  • Write tests and use test-driven development

At the end of the course, you’ll get to hear how Martin did with the coding challenge, and you’ll leave with resources for further exploration.

Download

Sample Code (.zip)

821 bytes

Download

Course Slides (.pdf)

13.1 MB

Become a Member to join the conversation.