ASCII Art Cat in Python 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 35

  • @byte0027
    @byte0027 4 ปีที่แล้ว +35

    She still replying to comments a month ago on a 2013 video that's honestly amazing.

    • @WorldClassTechEd
      @WorldClassTechEd  4 ปีที่แล้ว +8

      :-)

    • @rabindrasharma
      @rabindrasharma 4 ปีที่แล้ว

      yeah man she is really replying that's what means when you do hard work and remembe the pain , you'll appreciate your work even then.

  • @bethanderson5050
    @bethanderson5050 6 ปีที่แล้ว +5

    Wonderful lesson and easy to follow. I learned something about escape keys and was able to complete the cat accurately.

  • @dehlightful2664
    @dehlightful2664 4 ปีที่แล้ว +3

    THANK YOU, YOU HELPED ME WITH MY INTRO TO PROGRAMMING HOMEWORK!!!!!!!!!!!!!!!!111

    • @WorldClassTechEd
      @WorldClassTechEd  4 ปีที่แล้ว +1

      Wonderful!! Glad the video was helpful.

  • @ibrahimelsaideh4013
    @ibrahimelsaideh4013 4 ปีที่แล้ว +2

    i love this chanel

  • @rabindrasharma
    @rabindrasharma 4 ปีที่แล้ว +1

    Really amusing !!

  • @yoavschuman7970
    @yoavschuman7970 4 ปีที่แล้ว +1

    Your the best

  • @martinesse4830
    @martinesse4830 6 ปีที่แล้ว +5

    I know this is old. but you can use triple quote and that saves you from having to type print million times

    • @WorldClassTechEd
      @WorldClassTechEd  6 ปีที่แล้ว +5

      Thanks for the helpful tip and for being a part of this community!

    • @DestinyCreatesEntertainment
      @DestinyCreatesEntertainment 5 ปีที่แล้ว +3

      if we use a triple quote, then we can just paste in ascii without using escape letters and such?

    • @WorldClassTechEd
      @WorldClassTechEd  5 ปีที่แล้ว +1

      Thanks for adding your comment. YES! Using the triple quotes is a great idea. I also like my students to understand how to "escape" a character when necessary, as not all programming languages have this triple quote feature. THANKS!

    • @alicevain2668
      @alicevain2668 4 ปีที่แล้ว +1

      ​@@DestinyCreatesEntertainment No. Using triple quotes only makes it a multiline string. But prefixing the quotes with an does what you want.
      Example:
      print(r"""
      _
      ( \
      ) )
      ( ( .-""-. A.-.A
      \ \/ \/ , , \
      \ \ =; t /=
      \ |"". ',--'
      / // | ||
      /_,)) |_,))
      """)
      At least when using python3 (not sure about python2).
      …and off course it doesn’t teach how to use escape characters ;)

  • @BotezGambit
    @BotezGambit 4 ปีที่แล้ว +1

    So if i am generating an image how do i know where each character should go and exactly how many spaces to use? Sorry if this is a dumb question

    • @WorldClassTechEd
      @WorldClassTechEd  4 ปีที่แล้ว

      You can draw out an image on graph paper and figure out the spacing.

  • @0x656e
    @0x656e 5 ปีที่แล้ว +4

    thank you

  • @Bogdankudovbenko
    @Bogdankudovbenko 3 ปีที่แล้ว +2

    # As well you can use
    print(r"""
    # Place ASCII image here
    """)

  • @nyankosensey1531
    @nyankosensey1531 6 ปีที่แล้ว +1

    thank you

    • @WorldClassTechEd
      @WorldClassTechEd  6 ปีที่แล้ว +1

      You're welcome. Thanks for visiting my channel.

  • @networksx333
    @networksx333 5 ปีที่แล้ว +2

    So easy do it with print(''' /n *your ASCCI art* /n ''')

  • @arvid83
    @arvid83 4 ปีที่แล้ว +1

    Nederlands toch?