Class Functions | OOP (Object Oriented Programming) - Python | Lesson 15 (Free Coding Bootcamp)
Free Coding Bootcamp - Go from Zero to Software Engineer This Bootcamp will follow the roadmap covered in this video https://www.youtube.com/watch?v=puLSsuG1YE4 In this lesson, we learn how we can add functions to classes / objects. In addition, we learned how to use the __str__ function to allow us to customize the print for objects. The aim of this lesson is to teach you how to organize your code with objects. Note: Order matters for code! 🔥 Drop a comment to help the algorithm :) 👍 Subscribe to get notifications for the next video 👉 Full Series Playlist: https://www.youtube.com/playlist?list=PLEcHbCIBlyJryQxxElze2C_xMHLAJW94C ----------------- 😎 Resources ----------------- 👯 TikTok 📸 Instagram 💬. Join the Discord 📜. FREE Resume Template 📕. FREE Note taking template https://beacons.ai/codewithvincent We will be using https://replit.com as our editor, but feel free to use something else if you wish. ----------------- 👾 Important Videos ----------------- My Computer Science experience: https://www.youtube.com/watch?v=vRcGQLKXlMc The side project that got me interviews: https://www.youtube.com/watch?v=S5dbMCIVGsI My Resume walkthrough: https://www.youtube.com/watch?v=jhR9VINZB40 Ace your technical interviews: https://www.youtube.com/watch?v=baOyvH_H1NY ----------------- 🧑🏻💻 About Me ----------------- I am a full time iOS engineer, with over 7 years of programming experience. My goal is teach you the bare minimum necessary to break into tech ASAP. Learn more about my programming journey 7 years of coding in 12 minutes: https://www.youtube.com/watch?v=mBecK9SsRq4 I offer 1 on 1 mentorship as well, feel free to DM me on discord #coding #bootcamp #learntocode #codewithvincent ----------------- Chapters ----------------- 0:00 Introduction 0:39 Creating a square class 1:19 Adding a function to the class 2:16 Custom print for an object __str__ 3:45 Try to create a function to calculate the perimeter 4:37 Why objects are important 5:04 Real life example (contacts app) sub count: 1416
Download
0 formatsNo download links available.