Strings in Python | Python Tutorial - Day #11

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

Комментарии • 1,2 тыс.

  • @arshmalik7918
    @arshmalik7918 2 года назад +586

    Revision
    1 - We can use ' ' ' to print 2 or more lines
    2 - we can use escape sequence character \" to print ( " ) in string
    3 - Programming language count numbers from 0 , for example:
    Name = "Arsh"
    Print (Name[0]) ,then output is A
    Print (Name[1]) ,then output is R
    Print (Name[2]) ,then output is S
    Print (Name[3]) ,then output is H
    4 - We can Also use LOOP
    For Example , code - for character in Name:
    Print (character)
    Output : A
    R
    S
    H

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

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

  • @485_shaan9
    @485_shaan9 7 месяцев назад +5

    00:02 Exploring additional ways of creating strings in Python.
    01:22 Strings are sequences of textual data, created using double or single quotes.
    02:46 Using escape sequence characters to include double quotes in a string
    04:05 Python string literals and error handling
    05:40 Python strings can be easily manipulated and accessed using indexing.
    07:07 Strings in Python are like an array of characters, representing a collection of items.
    08:41 Using for loops with strings in Python
    10:11 Loops help in processing characters of a string one by one.

  • @RajaKumar-rq8fh
    @RajaKumar-rq8fh Год назад +159

    I never Skip the Video ads , i am not paying him , but i know if i skip the ads he will gets less amount , so i always keep the ads running so that i can support him . thx man for nice content

  • @parth_jolapara
    @parth_jolapara 2 года назад +112

    Brother harry is doing well,
    I saw the time in his desktop,
    it's 2-39 AM..
    GREAT WORK...

    • @arghagolui
      @arghagolui Год назад +4

      Excellent

    • @Muhammad_Haroon_Javeed
      @Muhammad_Haroon_Javeed 10 месяцев назад +3

      Brother ye subbah ka time Tahujud ka hoota hee is time insaan ziada fresh hoota hee aur kaam bhut ache SE kaar Patta hee

  • @SambhavJain-vk9sy
    @SambhavJain-vk9sy 6 месяцев назад +2

    00:02 Exploring additional ways of creating strings in Python.
    01:22 Strings are sequences of textual data, created using double or single quotes.
    02:46 Using escape sequence characters to include double quotes in a string
    04:05 Python string literals and error handling
    05:40 Python strings can be easily manipulated and accessed using indexing.
    07:07 Strings in Python are like an array of characters, representing a collection of items.
    08:41 Using for loops with strings in Python
    10:11 Loops help in processing characters of a string one by one.
    Crafted by Merlin AI.

  • @owaisnadeem2751
    @owaisnadeem2751 2 года назад +39

    Day -11 Done Harry bhai .
    11:50 pm PST .
    Stay blessed Harry bhai . You're nothing but a man who is an ispiration for many CS students .
    Love and Greetings from Pakistan for you Sir Haris Ali Khan

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

      ​@@Dharmaik_Sanatanidimag chahiye

    • @Sfarhan05
      @Sfarhan05 Год назад +3

      ​@@Dharmaik_Sanataniidhar hindu muslim karne aa gya

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

      ​@@Sfarhan05nahi india Pakistan karne

    • @prateeksingh8025
      @prateeksingh8025 7 месяцев назад

      @@Dharmaik_Sanatani BKL

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

      @@Dharmaik_Sanatani woh banda seekhane aata hai , thoda Profesional
      raho bhai ! 😶

  • @theguess2224
    @theguess2224 Год назад +10

    day #11 completed
    hope till the end i can get as much knowledge for the job

  • @Ganesh_kute-18
    @Ganesh_kute-18 2 года назад +39

    Harry bhai you are the gem of our Indian coding Industry ❤❤

  • @amituknow2814
    @amituknow2814 2 года назад +86

    Anyone noticed how hard harry bhai is working for us :
    1. Making video at 2:40am in the night on Dec 8
    2.Adding English subtitles in the video

  • @aadityarraj
    @aadityarraj 2 года назад +421

    Petition to make 100 days of code for C and C++

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

      also JavaScript

    • @aadityarraj
      @aadityarraj 2 года назад +9

      @@suvrajitpanda3797 are bhai wo course 3 year purana hai issiliye naya course banane ke liya bol rha mai, waise me wahi course se C sikh rha hu, abi video no 60 pr hu

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

      @@aadityarraj usko hi follow karo bhai 2 yr ka hua to kya Hua phir
      C pe new vdo phir kya aaega
      Sab to same 2 same he na kuch changes nhi hua he like for loop,if else ,and c main project itna nhi hota he to may be new vdo nhi aaega

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

      @@suvrajitpanda3797 sahi bola bhai but python ke bhi to course tha na pehle se wo bhi 121 videos ka
      issiliye bola

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

      Pehle python sikhle

  • @RRRR73558
    @RRRR73558 2 года назад +60

    Waiting for this whole day

  • @NehaThakur-sx5qc
    @NehaThakur-sx5qc 11 месяцев назад +2

    I fell in love with the way you teach, class 11/12 me padha tha python pr sb uppr se gya, today m studying again after years... and man you are genious..

  • @DsComputerWorld
    @DsComputerWorld Год назад +9

    Love you Harry Sir❤❤❤❤❤❤.Best python tutorial in the world. I am learning all the programming languages from you.

    • @bhumisharma679
      @bhumisharma679 7 месяцев назад +1

      I liked your videos the content is good keep it up .
      #conceptualpython

    • @DsComputerWorld
      @DsComputerWorld 5 дней назад +1

      @@bhumisharma679 thanks

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

    I have learned Python from your old Python playlist... It helped me a lot❤️
    Love from Kolkata sir❤️

  • @PriyaKumariMishra-zz8ok
    @PriyaKumariMishra-zz8ok 7 месяцев назад +6

    Hey Harry, i wrote my first code apart from Print("Hello world") after watching your day 11 video - here is my code -
    string1="Hello"
    a=input("Enter a charatcter from 'Hello' for which you want to find the index: ")
    index_number = []
    for index, char in enumerate(string1):
    if char == a:
    index_number.append(index)
    if index_number:
    print(f"The index of the character '{a}' is ", index_number)
    else:
    print(f"{a} is not found in the string - 'Hello'")
    i just want to thanks you for teaching so nicely that even i wrote a code :)
    keep up the good work!

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

    Day '11' Present sir , "today I'm learn (EOL) and using character"
    Thankyou sir

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

    This course is awesome 🔥🔥

  • @omyadav_143
    @omyadav_143 2 года назад +10

    Harry bhai u are the best teacher!
    This free videos worth more than any paid course.

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

      Oooo Bhai aik achi cheez Muft me mil rahi he to tujhe kia masla he?
      Agar esa he to tu Pese de dia karna Bhai

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

    THIS COURSE IS AMAZING

  • @ahanamondal244
    @ahanamondal244 29 дней назад +1

    hi Harry bhai! I am studying python in class 8 and it is being easy with you. Concepts are crystal clear .Thanks

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

    Hmare programming teacher (bhaiya),wo bhi ground to earth☺☺
    print("Love You Bhaiya")

  • @Kuch_Bhi-lets_explore_it
    @Kuch_Bhi-lets_explore_it 2 года назад +25

    Day 11 Present Sir , I learnt a new thing from today's video which is the full form of EOL ( End of line ) .. Thanks Harry Bhai 🔥🔥🙌🙌

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

      Do you know what it's called in C language??

    • @Kuch_Bhi-lets_explore_it
      @Kuch_Bhi-lets_explore_it 2 года назад +5

      @@Priyangshu_Majumder_18 I didn't know honestly earlier , but after seeing your comment I did google - & it is also called same in C - EOL ( end of line ) , EOF ( End of File ) ...

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

    Bro you deserve all the subscribers. Keep it up❤ 💯

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

    Bro really appreciate your work, but it's a request to you, if you may make a free course of data science or data analytics, for job perspective, please make it, i really need it, i request to you only because your way of teaching is different and unique from others and intresting apart from this i gain lots of knowledge from you. You know the upcoming era is for data science and new opportunities open for youths, if you made a course on that it would help and save upcoming youths life, also they become self dependent in their early 20s. Thank you for everything you give or do for today's generation.❤️

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

    i was thinking this how to completing daily one video with proper concept,subtitle, and posting possible withing 24 hour ... really am gratefull of harry bhai they are best teacher and friend in coding industry for all indian

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

    Bhut accha lag rha h bhaiya.
    Tarif me or kya bolu shabt ni hai.
    Just Best ❤️❤️❤️❤️❤️❤️❤️❤️

  • @knowledgemania8155
    @knowledgemania8155 Год назад +13

    I am from commerce background.. but I am joining this series and it's help me alotttt..!! To understand everything from being with different backgrounds.. thanks alotttt.. ❤❤ and I will learn everything from you😊❤

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

    Thumbnail ki photo bdi hi khatrnaak hai 🔥😎 Harry Bhyia ki 🤣

  • @Chandresh_Chaudhary
    @Chandresh_Chaudhary 2 года назад +9

    I have learnt a lot from you sir!
    Keep Growing ❤️❤️

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

    Sir ek question hai
    Hum user se ek string input lenge and fir uss string ke sare character word by word or alphabet way mai print hoo
    Like thia
    Input amazon
    Output is
    a=2
    n=1
    O=1
    Z=1
    m=1

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

    this course is really very amazing n intrested also ......I keep waiting for the next video thank you so much @Harry bhai ❣

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

    Sir, aap ne bohot achhe se karvaya, thank you so much 😊🙏

  • @fgsahil
    @fgsahil 2 года назад +422

    Kis kis. Ke pass computer / laptop nhi hai

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

    print("Hello Friends")
    Name=input("What is your name? :")
    print("Hello,",Name+'!',"Do you wanna! calculate two numbers?")
    A = int(input("Type your first number: "))
    B = int(input("Type your second number: "))
    opr = str(input("Type your operator ie '+','-','*','/', 'Quar','Reminder', :"))
    if opr == "+": print('''Hello,
    '''" ",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A + B)
    if opr == "-": print('''Hello,
    '''" ",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A - B)
    if opr == "*": print('''Hello,
    '''"",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A * B)
    if opr == "/": print('''Hello,
    '''"",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A / B)
    if opr == "Quar": print('''Hello,
    '''" ",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A // B)
    if opr == "Reminder": print('''Hello,
    '''" ",Name[0],'''
    ''',Name[1],'''
    ''',Name[2],'''
    ''',Name[3],'''
    '''"Your answer is : ", A % B)
    print('''
    '''"The end")

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

    Present Bhaiya #day11😀

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

    literally I'm addicted on this intro
    😍😍

  • @Vegito-OP
    @Vegito-OP 2 года назад +6

    Waiting of day 50
    For good level programming☺

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

    bro, I am vaibhav ..... That animation in the This is ultimate course wala is toooooo good .....I never skip it

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

    Love u harry bhai always waiting for ur content to upload,❤️❤️

  • @psychictrash-bk9mg
    @psychictrash-bk9mg Месяц назад +1

    Watched 💫
    Thanks 😊
    Day 3

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

    Day3 of #100DaysOfCode. In this video 11, I learned about strings in Python, which are text sequences enclosed in single or double quotes. I discovered how to create multiline strings using triple quotes, access characters with indices, and iterate through a string's characters using a for loop to perform tasks or print them.
    Thank You Harry Bhaiya.

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

    #Harrybhai is the best code Teacher 😎

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

    Haary Bhai 100daysofcode ke baad full stack web development ke videos lao

  • @Fitness_Freak_Aryan_Singh
    @Fitness_Freak_Aryan_Singh 2 месяца назад

    hey bro i am on the day 11 of my 100 days challenge on the day 1 and is motivated to complete the 30 videos in just oone sitting and bro you and your videos are really awesome and i am not just skipping the videos but i am grasping all the knowledge and is till here thank you bhai a lot.

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

    First view felling fun 100 days of code

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

    Aree waah Harry bhai Day 11 😆

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

    Hello sir Koi bhi course start bilkul lession by lession kare plzzz

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

    In this video I learned about strings , what is concatenation of string , how to write multi line strings by using ' ' ' then how can we access each element of the string also known as indexing then loop through the entire string and printing all the characters sequentially and in yesterday's video I got to know about input function and typecasting

  • @dollyshakya35
    @dollyshakya35 Год назад +3

    #HarryBhai 😃

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

    Learning something new from the old materials...!!

  • @ayushsharma8315
    @ayushsharma8315 Год назад +5

    Harry sir aap replit me explanation and definition with examples mat Diya Karo kyuki access karne me problem hota hai

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

    I am present!
    bro and with full potential we will finish this course in the next two months!

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

    Day 12 course also revealed 😉

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

      Yeah string Methods

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

      youtube.com/@multilearn2204?sub_confirmation=1

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

      .__dict__)
      File "", line 14, in
      NameError: name 'character' is not defined isko phone mai kasa thik karna hai samjha nai raha hai plzz help

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

    Thank you so much sir..🙏😊
    Always appreciate your hard work

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

      Hey... how'd u put the pic of Harry 🙂😳🙄

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

      It gets free when you join the channel.

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

      Wait... channel join karne se kya facilities milti hai ....?

  • @beautiofpk
    @beautiofpk 6 месяцев назад +9

    2024 button❤

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

    Ab to ye series kisi web series ki tarah hoti Jaa Rahi hai...aisa lgta ki abhi shaam ko episode aane hi wala hai ....much love Harry bhai ❣️ jai shree ram 🚩

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

    He is the best 🙂❤️

  • @Deepak-fr8ym
    @Deepak-fr8ym 8 месяцев назад

    Thank you bhaiya for such a great python series😃😃😃

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

    Bro you deserve all the subscribers. Keep it up❤

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

    Bhai bohot he sahi padate ho aap...

  • @nobita-nobii
    @nobita-nobii 2 года назад

    U r great man
    Love u from 2019👋👋

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

    Harry bhai did you made this video during late night 👍👍👍👍👍SALUTE MAN

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

    harry bhai apne to hila diya....

  • @darkalpha28
    @darkalpha28 2 месяца назад

    thanks and present you are just making it much easier you are awesome i will not skip the ads ny longer

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

    After 1 year, day 1 = 10 videos till now, try learning data science, so a long road ahead, just want to praise your teaching method its really great and understandable in ground zero level, so like the ones who said ye to basic h aata hi hooga .

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

    🙌🙌 Best teacher I found. Thankyou 🙌

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

    Thanks harry bhaiya🤗

  • @sandip-2003
    @sandip-2003 2 года назад

    Harry sir you are my best teacher of my life...

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

    Love you Harry bhaiii!!! ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @Maurya-fv8ck
    @Maurya-fv8ck 2 года назад +2

    Good evening Harry bhaiya 🤗🤗

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

    best teacher ever for coding

  • @little_Hyuki
    @little_Hyuki Месяц назад

    5:27 How is the st variable used in this working without the print function and how is it different from the above 3 variables, why are they not printed?

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

    Thank you harry bhai ap rat ko time likal ke
    Hamare liye video Banate ho
    thank you

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

    Yes I learn JavaScript course of your channel

  • @er.surenderpanwar
    @er.surenderpanwar 2 года назад +1

    Yes bro..... I'm here....🔥🔥

  • @Trickyonline-tp9oe
    @Trickyonline-tp9oe Год назад

    review:harry bhai ap great ho i complete day 33 i feel i learn my best thank's alotttttt harry bhai

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

    Thanku sir♥️♥️♥️

  • @03_cs_abhishekgour32
    @03_cs_abhishekgour32 2 года назад +1

    thanks for this lecture😊

  • @MSINGH-cf6yv
    @MSINGH-cf6yv Год назад +1

    Java ke baad python bhaut assan ho jata ha Harry bhaiya

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

    ur videos always help me in learning languages u r aussome
    Thanks

  • @ShadowGamer-0007
    @ShadowGamer-0007 Год назад

    Thank u very much for this course Harry bhaiya 😊

  • @kashyabmaharjan
    @kashyabmaharjan 7 месяцев назад

    Day #11.Thank you for your video.

  • @Suraj-k5v5q
    @Suraj-k5v5q Год назад

    Day 11 is also completed Harry bhai love you

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

    Thanks harry sir your teaching method is good

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

    a=input('Enter your first number: ')
    b=input('Enter your second number: ')
    print('Addition',int(a)+int(b))
    print('Substraction',int(a)-int(b))
    print('Multiplication',int(a)*int(b))
    print('Division',int(a)/int(b))
    print('Floor',int(a)//int(b))

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

      Wrong many mistake but you, ll improve it

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

      ​@@suniljain7438What mistake he is right

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

    Bhai ye jo photo lagai Hain na bdi mst hai👌🏻

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

    I apologize for joining this course late, but I have completed it until day 11.

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

    Majja aa raha hai course me

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

    that killer ❤‍🔥 smile 😃 of harry bhai at begining of every video is just amazing and encourages a lot encourages a lot

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

    day 11 complete harry thanks a lot bro

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

    Sir ap bohat he Acha parhaty hn mashallah se Allah apko hamesha khush rakhy

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

    Awesome video Harry bhai
    A am waiting for you next day
    #100daysofpythonchllalge

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

    Day 11- Completed😍

  • @gamerfleetkigf
    @gamerfleetkigf 5 месяцев назад

    a = input("Enter a name i will tell it all index!")
    print("the limit is upto 7 index so if the error come then only input a word which have 7 index minimum and maximum")
    print(a[0])
    print(a[1])
    print(a[2])
    print(a[3])
    print(a[4])
    print(a[5])
    print(a[6])

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

    Harry vai ap k ';web development'' course & react course maine kya & abhi python bhi sikh raha hu lekin ek chees main nahi janta ki kaise ab job k liye apply karu.konsi website & process.
    Please make a fullvideo of how to make the perfect cv and where to apply .what is the correct way????

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

    Day-011✔✔
    Date-08/12/2022
    Thanks harry sir

    • @jiya-fx5sy
      @jiya-fx5sy 6 месяцев назад

      hey what the purpose of this plus sign print(" hello," + name) can you please tell me about this thing

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

    a=15
    b=9
    a=input("Enter First Number: ")
    b=input("Enter Second Number: ")
    print(int(a)+int(b))
    print(int(a)-int(b))
    print(int(a)*int(b))
    print(int(a)%int(b))

  • @psychictrash-bk9mg
    @psychictrash-bk9mg Месяц назад

    4:46 all this could be done by just using print right print even the sentence has , & " "while using print.

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

    I like it yar ap bhot acha samjata ho bhi