Tuples in Python | Python Tutorial - Day #24

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

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

  • @CodeWithHarry
    @CodeWithHarry  Год назад +23

    Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube

  • @midhattech
    @midhattech 2 года назад +96

    You are the life saver sir , everyone knows there is nothing left in colleges , almost every student learns from the teacher like you . We go to college just for attendance and learns from you so thank you sir 😊

    • @Cyber_Secure_018
      @Cyber_Secure_018 2 года назад

      youtube.com/@the_gupta_boy?sub_confirmation+1

    • @bhaktiruparel8723
      @bhaktiruparel8723 Год назад +2

      I am watching this in my college free lecture

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

      @@bhaktiruparel8723 so why you are going to college

    • @bhaktiruparel8723
      @bhaktiruparel8723 Год назад +2

      @@gHejwjkakakkaja because of attendence😅

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

      @@bhaktiruparel8723 bht teez horahy ho🤣🤣🤣🤣🤣

  • @RoronoaZoro098
    @RoronoaZoro098 2 года назад +241

    Apna teacher kaise ho code with harry jaise ho ❤❤

    • @harshshukla5851
      @harshshukla5851 2 года назад +6

      Haan ek dum bro apna teacher harry sir jaisa ho

    • @ATTIQ_OFFICIAL
      @ATTIQ_OFFICIAL 2 года назад +2

      agreed 👍

    • @theexposer5303
      @theexposer5303 2 года назад +4

      Narrated `Aisha:
      that the Prophet (ﷺ) married her when she was six years old and he consummated his marriage when she was nine years old. Hisham said: I have been informed that `Aisha remained with the Prophet (ﷺ) for nine years (i.e. till his death).

    • @ATTIQ_OFFICIAL
      @ATTIQ_OFFICIAL 2 года назад +1

      @@theexposer5303 Ok and?

    • @ATTIQ_OFFICIAL
      @ATTIQ_OFFICIAL 2 года назад +1

      @@theexposer5303 kehi b man nehi bharta kya jaha chahe mu uthaye chale ay

  • @SilasLazarus-h2k
    @SilasLazarus-h2k 11 месяцев назад +12

    Day 24 done... Thank you so much Harry sir you are doing such a brilliant work God bless you Harry sir

  • @sohailnawaz1811
    @sohailnawaz1811 Год назад +8

    1.When we want to make a constant, then tuple is used.
    2., is added if 1 item tuple is made.
    3.Tuples are ordered collection of data items.
    4.They store multiple items in a single variable.
    5.Tuple items are separated by commas and enclosed within round brackets ().
    6.Tuples are unchangeable meaning we can not alter them after creation.
    7.Tuples can be sliced similar to lists but new tuple is created in the process.
    8. Tuples and strings both are immutable.

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

      how tuples are sliced? its acting same as list in my vs code,

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

      thx bhai

  • @MAbdullah_sonulover
    @MAbdullah_sonulover 2 года назад +3

    Harry bhai 100 days of code ko starting se follow kr rha hu Great Job💯💯💯💯

  • @subhassssadhu
    @subhassssadhu 2 года назад +30

    Day #24 and still going on.
    My continuity streak broke for a short period of time, but cannot give up on this #100DaysOfCode challenge.

  • @artistlado7105
    @artistlado7105 2 года назад +7

    Day 24 done... Thank you Harry sir for your goodness for giving us this mind-blowing videos... Sir you are amazing and u are my favourite teacher.....love you sir.. with respect...

  • @sayanisen6685
    @sayanisen6685 5 месяцев назад +1

    hamare school college mei Harry bhai jaise teacher hote na toh maja aati aur hamare results bhi aur ache hote. Parents k paise bhi kam barbad hote fees pe. Thank you Harry bhaiya

  • @JamalShakir-qc9li
    @JamalShakir-qc9li Месяц назад +1

    Harry Bhai Present, Such a amazing course

  • @niteshch9166
    @niteshch9166 2 года назад +5

    Day 24! Thanks for making me consistent Harry Sir!
    You are the best teacher.

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

    Maine college ki fees to faltu mai bhar rakhi hai, sabkuch to Mai Harry Bhai se he sikhta hu. Dhanya ho Harry Bhai aap to 🙏🙏🙏

  • @Sandeepkumar-jz5li
    @Sandeepkumar-jz5li 10 месяцев назад +55

    Class 11 attendance 😄

  • @rupeshmund500
    @rupeshmund500 2 года назад +3

    ek dam maja aa raha hai harry bhai
    loving the way you teach.

  • @samkhan2832
    @samkhan2832 2 года назад +8

    Great sir, I love this #100daysofcode challenge 🥳

    • @theexposer5303
      @theexposer5303 2 года назад

      Narrated `Aisha:
      that the Prophet (ﷺ) married her when she was six years old and he consummated his marriage when she was nine years old. Hisham said: I have been informed that `Aisha remained with the Prophet (ﷺ) for nine years (i.e. till his death).

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

    Day 5 of #100DaysOfCode. Today in this video 24, I learned about Python tuples, which are ordered, unchangeable collections of data items. Tuples use round brackets () and support positive and negative indexing, as well as checking for items using the 'in' keyword. I can also access items within a specific range or print alternate values using start, end, and jump index parameters. Tuples offer an efficient way to store multiple items in a single variable, while maintaining their order and immutability.
    Thank You Harry Bhaiya.

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

      Day 5 and you are in tuple. Did you known basic of python earlier?

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

      ​@@zeeshan4831nhi dia reply abhi bhi idnr

  • @Captain_79O-One
    @Captain_79O-One 2 года назад

    Sir aapke sikhane ka style boht achha hai koi bor nhi ho skta

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

    Apna teacher kaisa ho Harry bhaiya jaisa ho

  • @mdsamiuddin155
    @mdsamiuddin155 2 года назад +1

    Yes sir , kya baat hai mujhe bhi padna ka man kar gaya

  • @bikramdas6571
    @bikramdas6571 5 месяцев назад +1

    Tuple
    tupples are collections of data items which can't be changed like lists.
    we can perform every action on tuple like lists but we can't change it

  • @AtifMalik-g3b
    @AtifMalik-g3b День назад

    #Tuples in python
    tup = (1,2,3,4,5)
    print(tup,type(tup))
    print(tup[2])#prints ele at 2nd index
    print(tup[1:4])#Positive slicing
    print(tup[-3:-1])#negative slicing
    if 9 in tup:
    print("9 is present in tuple")
    else:
    print("9 is not present in tuple")

  • @zaidansari7944
    @zaidansari7944 4 месяца назад

    The best course ever❤ thanks alot

  • @sibtenravda5827
    @sibtenravda5827 8 месяцев назад

    in short tuple is immutable and for that you explain as everything again thats so good proud of you bro

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

    Love bro i am studying in Germany but it is far better than my university ❤❤❤❤❤❤❤❤❤❤❤

  • @prabinsharma1169
    @prabinsharma1169 2 года назад +1

    Great explanation sir we enjoying python

  • @U.J.GAMING
    @U.J.GAMING 2 года назад

    Harry bhaiya mai day 12 se day 18 Tak course attend nahi kar paya lekin maine saari videos dekh li and now I am always present in this course

  • @Zazai0
    @Zazai0 2 года назад +4

    Going very well this #100DaysOfCode with #HarryBhai ❤️🔥

  • @88code
    @88code 2 года назад +2

    --> day 24 done .Thank you harry for your great learning videos. Do you recommend any python book..

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

    Wow MashaAllah you are good teacher of python

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

    mughai coding ka c nhi ata tha thanks for teaching and motivation🥰

  • @Topknowledge8096
    @Topknowledge8096 2 года назад +2

    Thank you Harry bhai for create this course free for us

  • @yash_sonii
    @yash_sonii 2 года назад +1

    PRESENT HARRY BRO I AM IN 1ST SEMESTER BUT I LEARN PYTHON YOU BECAUSE YOU ARE THE BEST ONE 🤗🤗

  • @CoderzGaming093
    @CoderzGaming093 2 года назад +4

    #day24 maja to bohot aa rha h Harry bhai

    • @Cyber_Secure_018
      @Cyber_Secure_018 2 года назад

      youtube.com/@the_gupta_boy?sub_confirmation+1

  • @omkarnarawde880
    @omkarnarawde880 2 года назад +2

    Harry bhai computer second year ke OOP and DSL ke practicals pr bhi video banao na plz bahoot support milega uspe aapko🙏🙏

  • @WajeehaHasan-d2i
    @WajeehaHasan-d2i 4 месяца назад

    I started agian after about 2 months and gou motivated me today. . . Literally?

  • @abidbaloch5478
    @abidbaloch5478 2 года назад

    Assal o alaiku Harry bhai. I have completed lessons till day 24 Alhamdullilah.

  • @badalsahoo3902
    @badalsahoo3902 2 года назад +2

    big fan harry bhai

  • @CUETD2point
    @CUETD2point 2 года назад +2

    PRESENT SIR♥🔥

  • @tanvirgsm
    @tanvirgsm 3 месяца назад

    excellent explanation !

  • @mariamhasan3733
    @mariamhasan3733 2 года назад +12

    Day #24 completed. Can't believe we are moving so fast towards the day #100 😍

  • @razark777
    @razark777 2 года назад +1

    Sir, please make a video related to for patterns in java

  • @jhs003
    @jhs003 2 года назад +3

    Harry bhai , keep teach like you taught us in your HTML/CSS/JS also Git/GitHub playlist...simple language,simple examples

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

    You are the life saver sir , everyone knows there is nothing left in colleges , almost every student learns from the teacher like you . We go to college just for attendance and learns from you so thank you sir 😊
    Reply

  • @anonymous____________________4
    @anonymous____________________4 2 года назад

    Pranam bhrata 🙏 apka bahutt baht dhanyawad 😄🧡😇🙏

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

    khatra harry bhai upp mahan ho yrr great se v uper

  • @YOUTHKAISLAM
    @YOUTHKAISLAM 4 месяца назад

    my great teacher harry bhai and i am also present in your class

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

    thanks, Harry bhai God bless you man

  • @DineVlogs
    @DineVlogs 2 года назад +1

    Present Harry bhaiya 🙂

  • @learn_ai_with_us
    @learn_ai_with_us 2 года назад

    meri bhi continuity toot gai hai...per me phir bhi is 100 days code ko zarooor pora krngi...in sha allah...love from pakistan

  • @357vaibhavibhosale3
    @357vaibhavibhosale3 2 года назад +1

    Present Sir🙏😀

  • @youtubeshortsvideos4310
    @youtubeshortsvideos4310 2 года назад

    import turtle as t
    import colorsys
    t.bgcolor('black')
    t.tracer(100)
    t.pensize(2)
    h=0
    for i in range(300):
    c = colorsys.hsv_to_rgb(h,0.8,1)
    t.pencolor(c)
    h += 0.006
    t.right(119)
    t.circle(-i*0.3,120)
    t.circle(i*0.3,120)
    t.circle(-i*0.3,90)
    t.circle(i*0.3,90)

  • @RohitJadhav-d6h
    @RohitJadhav-d6h Год назад

    100 days of python today is my 15th days thank you harry bhai

  • @man_united-z1h
    @man_united-z1h 7 месяцев назад +1

    Day 24 done ✅

  • @kingkamleshofficial
    @kingkamleshofficial 2 года назад

    Hi Harry I'm from rajsthan I like your all videos

  • @__ayu
    @__ayu 2 года назад

    #DAY24 COMPLETED
    THANK YOU #CodeWithHarry

  • @funwithraghav9228
    @funwithraghav9228 2 года назад

    Thankyou very much because my papa empress with you

  • @PhotoshopEditing-t9s
    @PhotoshopEditing-t9s 5 месяцев назад

    Thank you so much sir!

  • @BlackNWhitegaming450
    @BlackNWhitegaming450 6 месяцев назад

    strings and tuple are immutable and lists are mutable❤

  • @arohi_303
    @arohi_303 4 месяца назад +2

    Day 24✨

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

    bahut accha se samajh a raha hai

  • @agnivaranastudy6493
    @agnivaranastudy6493 2 года назад +1

    Harry bhaiya will you cover dsa in this course?

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

    Thanks for the video

  • @the-unique-116
    @the-unique-116 7 месяцев назад +2

    Bro I made a code with the information given by you---
    a = int(input("Enter the first number"))
    b = int(input("Enter the number"))
    def square(a, b):
    print("You chose to square")
    print(a*a, "= square of a")
    print(b*b, "= square of b")
    def divide(a, b):
    print("You chose to divide")
    if(a < b):
    print(b/a)
    elif(b < a):
    print(a/b)
    else:
    print(1)
    def addition(a, b):
    print("You chose to add")
    print(a, "+", b, "=", (a+b))
    def subtract(a, b):
    print("you chose to subtract")
    ask = int(input("do you want to subtract a from b or b from a (if you want a - b then reply 1 or reply 2): "))
    print(ask)
    if(ask == 1):
    print(a - b)
    elif(ask == 2):
    print(b - a)
    else:
    print("chose 1 or 2")
    def remainder(a, b):
    if(a < b):
    return(b%a)
    elif(b < a):
    return(a%b)
    else:
    print(1)
    # This project take too much time to be made
    # a is variable
    print("What do you want to do? ")
    print("if you want to see the remainder enter 4")
    answer = str(input("Square or divide or addition or subtract
    Enter here : "))
    if(answer == "square"):
    print(square(a, b))
    elif(answer == "divide"):
    print(divide(a, b))
    elif(answer == "addition"):
    addition(a, b)
    elif(answer == "subtract"):
    print("You chose to subtract.")
    print(subtract(a, b))
    elif(answer == "4"):
    print(remainder(a, b))
    else:
    print('chose a valid option')
    print(type(a))
    print(type(subtract))

    • @dazcode
      @dazcode 3 месяца назад +1

      ChagtGPT code 😂

  • @himanshupal2908
    @himanshupal2908 2 года назад

    Sir machine learning pe bhi playlist laiye

  • @sachinkaran1289
    @sachinkaran1289 2 года назад

    please make one complete playlist for ML...

  • @RAZA-tm5yh
    @RAZA-tm5yh 10 месяцев назад

    we can change in number in tuples ;tup = (12,) + tuple(tup[1:])by using like this

  • @pravingupta1814
    @pravingupta1814 2 года назад

    Data structure and algorithm bhi cover hoga harry bhai?

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

    Bro tutorial accha hay --- font o thora bara karte toh dikhne me aur zada accha hota

  • @code_with_sharjeel
    @code_with_sharjeel 3 месяца назад

    Present harry bhai.. day#24

  • @aamirzaheeransari
    @aamirzaheeransari 2 года назад +1

    Print("I am always present sir in your class 🙂😜 and thankyou sir
    & this is my first programing language which I am learning for you thankyou once again thankyou so much bhaiya." )

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

    Touples me agar 1 string value hoga tbb bhi comma lagega kya like
    T=("shubham",)

  • @eashovon
    @eashovon 2 года назад

    Present from Bangladesh Brother...#day24 done..

  • @technikalproblem6780
    @technikalproblem6780 2 года назад

    Thank you sir for creating this video!

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

    Hey Harry i have a question can we use sort method in tuple??

  • @SaiyanPrince887
    @SaiyanPrince887 2 года назад

    Completed day 24 🙋💪

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

    LOVE YOU HARRY BHAI❤

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

    can tuple get sliced ?
    tup = tup[0:3]
    wouldn't it change tuple??

    • @mohammadahmedchoudhry8931
      @mohammadahmedchoudhry8931 4 месяца назад

      we can't change the original tuple but if you want the slicing of it you must create the new one, like
      tuple2 = tuple[1:3]
      print(typle2)

  • @Jimil_soni
    @Jimil_soni 2 года назад

    iska matlab tuples lists aur arrays thode similar hote hai ?

  • @dhruvmutreja217
    @dhruvmutreja217 2 года назад +1

    it is a request to please give exercise after every topic, like 2,3 practice questions, or maybe suggest some website where there are questions to practice

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

    sir replit fork karne ka option nhi hai day 14 se????????????????????????????????????? Do something plzzzzzzzz

  • @techodisha4836
    @techodisha4836 2 года назад

    Present Sir🙋‍♂

  • @theaddicated
    @theaddicated 5 месяцев назад +1

    Is anybody can explain me that how tuple are immutable but strings and lists are mutable with example😪

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

    This is so easy if you watch the video of list

  • @ravicharanpatel
    @ravicharanpatel 2 года назад

    Python practice project - ruclips.net/user/shorts1R6Tx_9HgnY?feature=share

  • @savitasisodiya566
    @savitasisodiya566 2 года назад +1

    👏Nice sir ❤

    • @Cyber_Secure_018
      @Cyber_Secure_018 2 года назад

      youtube.com/@the_gupta_boy?sub_confirmation+1

  • @mahafuzarumu1332
    @mahafuzarumu1332 10 дней назад

    how can I find access to your left side note?

  • @didyouknow009
    @didyouknow009 2 года назад

    Love you sir ❤️❤️❤️

  • @oo-tes6642
    @oo-tes6642 2 года назад

    Very late , but consistent ❤️✌️ Day 24

  • @jatinbhatt2222
    @jatinbhatt2222 2 года назад +1

    Present sir on Day-24 ✋✋

  • @yatindrapabbati6878
    @yatindrapabbati6878 2 года назад

    Day24-PRESENT SIR!

  • @vishal3288
    @vishal3288 2 года назад

    Thank you ❤️

  • @pratikshelke7493
    @pratikshelke7493 2 года назад +1

    day 24 💥

  • @imranmohd451
    @imranmohd451 2 года назад

    Thank you so much sir

  • @RahulVerma_98
    @RahulVerma_98 2 года назад

    Nice video!

  • @leagendff5151
    @leagendff5151 10 месяцев назад +2

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

    Majja aata harry bhai

  • @Anushkaseen
    @Anushkaseen 2 года назад +1

    Sir Package pr video banyan ye package kia kio zarori Hy please 🙏🥺🥺

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

    Thanku bhaiya❤

  • @tasneemkhan1405
    @tasneemkhan1405 2 года назад

    Sir please make video on mobx state management library
    Thanks 🙏

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

    i am on day 24 till now i have learned well all the concept , but i want to know completing 100 days worth it? will it help me to secure my first job? or enable to work on big projects? either machine learning or data science? reply to this please