Print stars "*" in triangle | Lesson 5 - Zero to Software Engineer Free Coding Bootcamp

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • This Bootcamp will follow the roadmap covered in this video
    • How to become a softwa...
    In this video we will run through a fun exercise with loops!
    Here is the question prompt:
    '''
    Given an input of size: n, output a
    right angled triangle with n number
    of rows.
    EX:
    n = 1
    *
    n = 2
    *
    **
    n = 3
    *
    **
    ***
    '''
    This Bootcamp will follow the roadmap covered in this video
    • How to become a softwa...
    🔥 Drop a comment to help the algorithm :)
    👍 Subscribe to get notifications for the next video
    👉 Full Series Playlist: • Python - Intro to Prog...
    -----------------
    😎 Resources
    -----------------
    👯 TikTok
    📸 Instagram
    💬. Join the Discord
    📜. FREE Resume Template
    📕. FREE Note taking template
    beacons.ai/cod...
    -----------------
    👾 Important Videos
    -----------------
    My Computer Science experience: • What it was really lik...
    The side project that got me interviews: • The side project that ...
    My Resume walkthrough: • The resume that got me...
    Ace your technical interviews: • How to ace your techni...
    -----------------
    🧑🏻‍💻 About Me
    -----------------
    I am a full time SWE, 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: • 7 years of coding in 1...
    I offer 1 on 1 mentorship as well, feel free to DM me on discord
    #coding #bootcamp #learntocode #codewithvincent

Комментарии • 14

  • @Kenny-o6i
    @Kenny-o6i 10 месяцев назад +1

    How do you do the spaces before each star to get the pyramid? Like if it's 3 rows then you would need 2 blank spaces before the 1st star and 1 blank space before the 2nd two stars, but how would you incorporate that in code?

    • @CodewithVincent
      @CodewithVincent  10 месяцев назад

      Haha check out my other video where I show you how to draw the pyramid 😀

  • @papayathecat
    @papayathecat Год назад

    I learned so much meowww

  • @andypanfu
    @andypanfu Год назад +1

    Hi Vincent! This is my code for the pyramid 🙂
    def pyramid(n):
    spaces = n-1
    for num in range(1, 2*n, 2):
    print(' '*spaces+'*'*num)
    spaces = spaces - 1
    pyramid(10)
    pyramid(5)
    pyramid(25)

    • @CodewithVincent
      @CodewithVincent  Год назад +1

      Nice work!

    • @ilyilybb
      @ilyilybb Год назад

      What does the 3rd section in range mean? (Start, End, ?)

    • @CodewithVincent
      @CodewithVincent  Год назад

      ​@@ilyilybb the steps, so if you put 2, it will count by 2. If you don't provide the their argument, it will just count by 1

  • @shaniterollins3503
    @shaniterollins3503 Год назад

    Hi, this Question is off subject. I have a computer science degree (2004 and never used😮) and MBA(2014). Been in administration and now thinking about going back into computers. Should I pay out of pocket for classes like python and JavaScript instead of doing a boot camp? I’m really thinking about becoming a software engineer but I never used my CS. I need help with choosing the best approach.

    • @CodewithVincent
      @CodewithVincent  Год назад

      To be honest, it really depends. If you forgot all of your coding skills, then yes it would be beneficial to take some classes to sharpen up. However, if you want to get employed, what you really need are projects to demonstrate your skills. So I think a bootcamp would make more sense as it will help you build up a portfolio.
      Now the next thing is cost. Do you have the money to shell out on a bootcamp? Considering that you already have a CS degree, I'd assume that you were technical in the past. So you should be able to pick things up fairly quickly. If you want to save money, you can just watch this playlist and self study / find someone to tutor / mentor you 1 on 1.
      Good luck!

    • @shaniterollins3503
      @shaniterollins3503 Год назад

      Thank you for the information. Yes, paying out of pocket would be better. Student loans are monsters lol thank you so much for the advice. I will look through your playlist. Do you have a video that mentions on how to list your self taught information and how to create a portfolio?

    • @CodewithVincent
      @CodewithVincent  Год назад

      The series will go over those details 👍

  • @jakretsu7952
    @jakretsu7952 Год назад

    Thank you for the lesson!