LITERALS ( NUMBERS & STRINGS ) - PYTHON PROGRAMMING

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

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

  • @sundeepsaradhi
    @sundeepsaradhi  6 лет назад +112

    HI VIEWERS
    In the STRING FORMATTING concept i have written the print function and please correct it with format function for alignments.
    LEFT JUSTIFY
    Wrong Statement : print("hello","30")
    CENTER ALIGNMENT
    Wrong Statement : print("hello","^30")
    Correct Statement : format("hello","^30")
    I am sorry for the mistake and please make a correction.

    • @archanas4953
      @archanas4953 6 лет назад +2

      Thank you for the lecture sir. Truly Helpful.

    • @raveeshreyas5181
      @raveeshreyas5181 5 лет назад

      No sorry from yr end,it's a just mistake,happens oftentimes

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

      At the left string i.e. format("Hello", "

    • @azhagans7486
      @azhagans7486 4 года назад

      thank u sir , i confused that .,

    • @sangeetamukherjee7515
      @sangeetamukherjee7515 4 года назад

      Sir going by the replies pertaining to your correction i am confused as to what the correct syntax for the alignments are?please help!!!!!!

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

    Sir I'm M.Manoj I have learned python in this playlist and placed in 2 companies,Thank you for your service sir🙏🙏🙏 and I wish you to continue like this..and I also suggested this playlist to many of my friends...love you sir😊😊, I strongly suggest this playlist to the students those who are watching, this is the best playlist and best faculty to learn python.Once again Thank you sir🙏🙏🙏

  • @riniroshan7095
    @riniroshan7095 4 года назад +25

    I am the beginner sir.. After seeing ur video I have more confident that I can also learn this programming Thank you so much sir... Clearly explained sir.

    • @satyavani9448
      @satyavani9448 3 года назад

      How much time Did it take to learn python after watching these tutorials?

    • @tanjinabegum-sz5tt
      @tanjinabegum-sz5tt Год назад

      Did you learn coding?

  • @lokeshnaidu3855
    @lokeshnaidu3855 3 года назад +8

    0:00 to 15:57 is all about Numbers
    15:59 to 31:00 is all about Strings.

  • @dhavalkuvadia5921
    @dhavalkuvadia5921 4 года назад +1

    I am a commerce Grad and you just made python so easy for me. Awesome teaching sirjee.

  • @ashokhacker8216
    @ashokhacker8216 3 года назад +10

    print("What's Your Name?") this statement prints no error, sir. I think this statement prints an error while we are using single line quotes for eg:
    print('What's Your Name?'). I think it is the correct statement print('What\'s Your Name?')
    your videos are excellent thank you so much, sir.

    • @MrChotu-xy1xz
      @MrChotu-xy1xz 2 года назад

      bro error raledhuga bro double quote petinapudu

  • @saipriya864
    @saipriya864 5 лет назад +1

    U r the best faculty for computer language sir tq so much sir plz do more videos like this

  • @hemantbagul9830
    @hemantbagul9830 4 года назад +1

    best teaching
    keep it up sir
    i loved your teaching very much.

  • @selvama5889
    @selvama5889 4 года назад +3

    It’s an awesome explanation of the python programming . Thank you so much sir you’re reaching the many

  • @naveenkommineni6101
    @naveenkommineni6101 3 года назад +1

    Your Teaching is Awesome sir, It's clearly understandable. Thank you for making the Video.

  • @raveeshreyas5181
    @raveeshreyas5181 5 лет назад +1

    Simple n lucid way of teaching ,U strive hard to make every point understoodwell.thanks ton

  • @Understanding_the_world_withme
    @Understanding_the_world_withme 4 года назад +1

    Sir this videos are too much helpful to me.. It is making my concepts very clear.. And it is enlarging my knowledge.. Thank you very much sir..

  • @josephperera8282
    @josephperera8282 4 года назад +1

    Hi Sundeep thanks very much appreciate your teaching Joseph Perera

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

    thank you so much Mr. sundeep

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

    It's always fun to learn from u sir

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

    So good tutorial video !!!

  • @rajeshgoud7547
    @rajeshgoud7547 6 лет назад +40

    Mistake :
    Raw String Printing :
    ===============
    Wrong Syntax : print(R,"What\'s Your Name")
    Correct Syntax :print(R"What's Your Name")
    You can use R or r without Space.

    • @deepak__saini
      @deepak__saini 5 лет назад

      Correct

    • @medagamvinitha9815
      @medagamvinitha9815 5 лет назад

      yes rajesh garu sundeep sir syntax will shows the error that is" R will not defined"

    • @jaskaranvirsingh4348
      @jaskaranvirsingh4348 4 года назад

      thanks brother

    • @dhruvinshah3085
      @dhruvinshah3085 4 года назад

      as per your correct syntax still it shows the error
      TypeError Traceback (most recent call last)
      in ()
      ----> 1 print(R"what's your name")
      TypeError: 'tuple' object is not callable

    • @srivatsa5117
      @srivatsa5117 4 года назад +1

      print(r'what\'s your name'), this gives the answer, Sandeep need to correct this

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

    26:43 i tried that alignment program... it just simply got printed as "hello

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

      hello lakshmi see the comment above

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

      print(format("helloji", ">30"))

  • @jayvasan899
    @jayvasan899 4 года назад

    Good Approach to the learners.👌

  • @rohityadav1545
    @rohityadav1545 3 года назад +1

    sir at 23:30 you wrote print(r,"what\'s your name") instead of print(r"what\'s your name") with comma it give error

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

    Good explanation

  • @hemanthboppa5355
    @hemanthboppa5355 4 года назад +9

    String Formatting Output is different which has explained in the Video.
    In [5]:
    format("hello","

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

    Sir i tried raw string as you said the syntax is not in right format
    Print("R, what\`s your name ")
    By the way after using R it is not printing \ it is printing with out that kindly review it and let me know at 23:19

  • @apple-mp4tk
    @apple-mp4tk 4 года назад +1

    I just want to say thanks , you are They best, I feel like am going school again,

  • @pavanpavankalyan2790
    @pavanpavankalyan2790 4 года назад

    Hlo sir
    Your way of teaching spr sir

  • @rajeshupadhyay8778
    @rajeshupadhyay8778 3 года назад +1

    Negative whole number is also integer constants

  • @oohabedapudi9259
    @oohabedapudi9259 4 года назад +1

    Please explain practically also by programming

  • @hemanthboppa5355
    @hemanthboppa5355 4 года назад +5

    In the latest Version of the Python loss of precision will not be published as the Compiler will limit the value to some extent
    In [2]:
    10/3
    Out[2]:
    3.3333333333333335

  • @umak4310
    @umak4310 4 года назад

    Thank u for uploading this video sir

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

    Super sir 🔥

  • @debasmitamohapatra9685
    @debasmitamohapatra9685 4 года назад

    Thank you sir for beautiful class

  • @naveenprakash9987
    @naveenprakash9987 4 года назад +1

    Getting the string format output differently. > is right justified, < is left justified. Just opposite!

  • @varunkumar41426
    @varunkumar41426 4 года назад

    Nice explanation sir

  • @surekhaighe6033
    @surekhaighe6033 6 лет назад

    It is so easy made by u

  • @loddachakrawarthy1637
    @loddachakrawarthy1637 3 года назад

    How to control the under and over flow problem

  • @arulmozhivarman617
    @arulmozhivarman617 4 года назад +7

    I think you gotta a cute daughter....Haha I can hear her, she's repeating you 😂💓

  • @SabthingTalks
    @SabthingTalks 5 лет назад +1

    Hello Sandeep,left justify when I am using its not Space justified its text getting justified.Please check at ur end again.Thanks for Vdo

  • @sherawatpavan3050
    @sherawatpavan3050 4 года назад

    SuPer sir.Thank u very much sir❣️❣️❣️❣️❣️

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

    sir in raw string using there is no comma beside R
    print(R"what\'s your name")

  • @anjuchaurasia3576
    @anjuchaurasia3576 4 года назад

    V nice

  • @ksumit304
    @ksumit304 4 года назад +8

    Dear sir,
    in "loss of precision problem" what will output?

    • @Manoj-lg5zc
      @Manoj-lg5zc 4 года назад

      output for "underflow" also

    • @fasak840
      @fasak840 4 года назад +1

      @@Manoj-lg5zc it will be zero(0)

    • @dheerajshetty4941
      @dheerajshetty4941 3 года назад

      @@fasak840 It will give approximated value

  • @syedshashmi541
    @syedshashmi541 4 года назад +1

    In the latest version it is different sir...Raw string is not valid,escape as well... and much more...am watching this on tubestudy app pls correct it

  • @pranayteja4162
    @pranayteja4162 3 года назад

    Alignments not working
    print('hello', '

  • @maheswari653
    @maheswari653 4 года назад +3

    Sir when arithmetic overflow error occur in execution of program

  • @rohithvysyaraju
    @rohithvysyaraju 4 года назад +1

    String formatting ie.,allignments are not getting correct output sir.

  • @venkym3148
    @venkym3148 6 лет назад +3

    Sir!!!!
    JAVA!!!!!!!!!!❣️❣️

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад +1

      hi venky
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @sahithichunduru1970
    @sahithichunduru1970 4 года назад +1

    What about ljust rjust commands sir?

  • @jayanthivikas7478
    @jayanthivikas7478 4 года назад

    Sir if we print anything there will be displayed with single quotes sir as u showed in that in allignments as
    output

  • @sudharani3203
    @sudharani3203 5 лет назад

    Clearly ur explaining sir

  • @rishivijaykumar
    @rishivijaykumar 3 года назад

    this is not working left space and right space, may it replaced by different option?

  • @letstalkmachi2567
    @letstalkmachi2567 4 года назад

    Amazing sir

  • @akhilprem6110
    @akhilprem6110 4 года назад +1

    Sir your instructions for string formatting are not working in the latest python version please do tell the solution

  • @padmaprabhala1898
    @padmaprabhala1898 4 года назад +5

    When we give print(“hello”, “

  • @prashanthireddy2716
    @prashanthireddy2716 3 года назад

    Sir this videos makes to select in placements

  • @sivareddy-ui8lw
    @sivareddy-ui8lw 4 года назад +2

    Hi sir,Recently Started watching python videos.In that print("what's your name ") is working without escape sequence or Raw String .Is this because of latest version of python r am I doing something Wrong??????....Please reply for this to continue your videos.

    • @sundeepsaradhi
      @sundeepsaradhi  4 года назад +3

      Hi
      You are exactly correct in lower versions you have to give raw string

    • @swatichauhan4575
      @swatichauhan4575 3 года назад +1

      You cleared my doubt too ..thanks 😀

  • @narasimhareddy1556
    @narasimhareddy1556 5 лет назад

    Nice videos sir , plz updated to the opp concepts

  • @pratibhavaidya8065
    @pratibhavaidya8065 3 года назад +1

    Sir, print is working without escape characters and when used with R it is giving error, Tried with 2 different versions.please explain

  • @aravinthkumar7552
    @aravinthkumar7552 4 года назад

    Hi, your classes are interesting keep it up.

  • @himavanthjp912
    @himavanthjp912 3 года назад +1

    Tqsm sir

  • @shivanshmishra9429
    @shivanshmishra9429 4 года назад +1

    ❤️thanks sir

  • @fasak840
    @fasak840 4 года назад

    what is the output of loss of precision ??

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

    print("what's your name") sir this works in python3.9.2

  • @rashmiranjandas8483
    @rashmiranjandas8483 4 года назад +1

    rawstrings, allignment errors are there sir....please correct those....but UR VIDEOS ARE THE BEST

    • @bijitmajumdar2666
      @bijitmajumdar2666 4 года назад

      try this one, i hope it will work.
      print(R'what\'s your name')

  • @balajiramasamy2152
    @balajiramasamy2152 3 года назад

    allignment is not working in idle it print "hello" "

  • @sailakshmi7067
    @sailakshmi7067 4 года назад

    Sir for espace sequences same kind of qoute which is we used for starting and ending should be used.Otherwise it leafs to synatax error.
    Wrong:print("what\'s your name")
    Syntax error
    Right:print('what\'s your name')
    what's your name

  • @vinothganapathi5571
    @vinothganapathi5571 4 года назад

    print('{:>40}'.format("hi")) -- left side align

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

    Sir, I didn't understand how to keep the triple quotes

  • @saisanthosh8370
    @saisanthosh8370 4 года назад

    Sir what is the differnce between print and printf

  • @achandrakiran7913
    @achandrakiran7913 4 года назад

    Sir what is the output when loss of precision problem occurs

  • @syedshashmi541
    @syedshashmi541 4 года назад +1

    Sir which version of python ur teaching ....mostly it giving errors in latest version
    Pls reply to watch ur further videos .
    .

    • @alexpattanaik6937
      @alexpattanaik6937 4 года назад

      Bro I used also least version but it worked
      #Timepasshub

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

    Sir I'm seeing every video of uu.... related to python.....i have some doubts on This course...... could you please permit me to speak with you sir...... don't say no sir it's my honorable request....

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

      You can contact me in whatsapp available in channel homepage

  • @kundanatayi6113
    @kundanatayi6113 5 лет назад +1

    sir, raw string is not working in python 3.8.1 version is there any other syntax to this?

    • @sundeepsaradhi
      @sundeepsaradhi  5 лет назад +2

      HI
      In the STRING FORMATTING concept i have written the print function and please correct it with format function for alignments.
      LEFT JUSTIFY
      Wrong Statement : print("hello","30")
      CENTER ALIGNMENT
      Wrong Statement : print("hello","^30")
      Correct Statement : format("hello","^30")
      I am sorry for the mistake.

    • @hariharaselvamsankaranaray1971
      @hariharaselvamsankaranaray1971 5 лет назад

      Dat was wrong, Pls try
      print(R"Print any raw string now#$%^&")
      either upper or lower case and with or without spaces.

    • @GurvinderSingh-yb2ut
      @GurvinderSingh-yb2ut 5 лет назад +1

      please omit the comma after r. eg.
      print(r"What's your name")
      it will work

    • @bijitmajumdar2666
      @bijitmajumdar2666 4 года назад

      its right sir

  • @nazeemashaik8531
    @nazeemashaik8531 4 года назад +1

    No need to mention the ; after print statement in python?

  • @DebashisDGiri
    @DebashisDGiri 4 года назад

    Sir all the video in this playlist ar in sequence or not??

  • @vidyullatajadhav8167
    @vidyullatajadhav8167 4 года назад +1

    I think Python 3.9.1 is not having problem of overflow, underflow and loss of precision.

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

    not printing sir print("Hello", "

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

      Syntax is different pls refer to first comment, i have given correct one there

  • @charantangisetti6824
    @charantangisetti6824 4 года назад

    Sir what textbook u follow please share it's name

  • @shivakrishnachary4509
    @shivakrishnachary4509 6 лет назад

    Which textbook is preferable to read ?

  • @vasudev2142
    @vasudev2142 5 лет назад +1

    Hi, Can you please explain with Python examples that should be great! please respond.

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

    Mentioning letter 'L' with long integers are only for old version of python
    Pls teach us latest version

  • @POKEMONGOJOURNEY
    @POKEMONGOJOURNEY 4 года назад

    Sir without slash bhi print ho Raha ha

  • @usmanmehmood7614
    @usmanmehmood7614 4 года назад

    thank you

  • @raveeshreyas5181
    @raveeshreyas5181 5 лет назад

    Thanks Sandeep sir

  • @balak8958
    @balak8958 4 года назад

    Suffixes L has been added in prefix??????????

  • @sharathkumar-mz1gu
    @sharathkumar-mz1gu 6 лет назад +1

    Sir, can u make videos on linux internals and linux os...

  • @aries2464
    @aries2464 4 года назад +1

    No aren't triple quotes used for muliple line comment.
    For single line comment we use #
    For multiple we use '''

  • @Raginipandey953
    @Raginipandey953 4 года назад

    Is it necessary to save the file with extension.py ...... Because idle will automatically save the file with .Py extension

  • @arianagrande6137
    @arianagrande6137 4 года назад

    can you show direct demo in system with every concept in every video'

  • @tilakkumar7833
    @tilakkumar7833 4 года назад

    sir i got error ,cam u clarify ?
    print(R,"what\'s your name")
    Traceback (most recent call last):
    File "", line 1, in
    print(R,"what\'s your name")
    NameError: name 'R' is not defined

  • @sayyaparajujahanvi3809
    @sayyaparajujahanvi3809 3 года назад

    Sir.....I have tried Raw String Concept in IDLE but it's not working. The error shown is that 'R' is not defined. How to overcome this issue?

    • @susmithak5919
      @susmithak5919 3 года назад +1

      Hi!
      print(R"what\'s your name?")
      Once you try this without giving comma (raw string), so that no need to define R

    • @susmithak5919
      @susmithak5919 3 года назад

      Hi!
      print(R"what\'s your name?")
      Once you try this without giving comma (raw string), so that no need to define R

  • @venkatasairaveendra6855
    @venkatasairaveendra6855 4 года назад

    How to write alinments

  • @nanitechinfo6188
    @nanitechinfo6188 6 лет назад +1

    Sir every programming language most cases use / and \ this operators.My dout is why every programming language use only this why don't we create another operator is this possible.

    • @sundeepsaradhi
      @sundeepsaradhi  6 лет назад

      hi nani
      thats how compiler have been designed so we are supposed to find the syntax and semantics while using the compiler.
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @gnanendragnani1620
    @gnanendragnani1620 4 года назад

    thank u sir

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

  • @pavanpuli1239
    @pavanpuli1239 3 года назад

    print("puli" , " >50")
    o/p
    puli >50
    , Sir i will not get proper output in this method

  • @karunaemmanuel1496
    @karunaemmanuel1496 3 года назад

    Hello sir..
    Print(R, "what\'s your name?")
    This gives me error.
    Error:
    name ' R ' is not define.

    • @karunaemmanuel1496
      @karunaemmanuel1496 3 года назад

      Print("hello", "

    • @susmithak5919
      @susmithak5919 3 года назад

      Hi!
      print(R"what\'s your name?")
      Once you try this without giving comma (raw string), so that no need to define R

  • @narayanagampa1112
    @narayanagampa1112 5 лет назад +1

    Sir very good explanation.but 1/10000=0.0001

  • @svshalinireddy1452
    @svshalinireddy1452 4 года назад

    how to clear the screen idle

  • @balamuralikrishnabiyyapu2810
    @balamuralikrishnabiyyapu2810 4 года назад

    Suggest any reference book ?

  • @dineshrajankandadai157
    @dineshrajankandadai157 4 года назад

    Thank you sir