Comparison Operators in Python

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

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

  • @awesomeright6323
    @awesomeright6323 9 месяцев назад +1

    the result is true In Python, string comparison is performed lexicographically based on the ASCII values of the characters. In this case, the string 'apple' is lexicographically greater than the string ' apricot'. Therefore, x is considered greater than or equal to y, resulting in True being printed.

  • @AnonymousUser17059
    @AnonymousUser17059 Год назад +11

    The answer is "FALSE", due to the ASCII value of the third character of both strings being different i.e. p(112) is not LTE r(114).

  • @Arun1986-r1x
    @Arun1986-r1x Год назад +5

    thanks for your information and finally my doubts fully cleared

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

    Your way of reaching is amazing. I learnt a lot from you. Love from Pakistan

  • @zeniio
    @zeniio 6 месяцев назад +1

    thank you. I have a computing test and I was struggling to grab the idea of what comparison operators are.

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

    Thank you sir very nice gide & very nice information comparison operator teaching video.👍

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

    Sir,please add playlist of searching and its type in detail in c language. 🙏🙏🙏

  • @HimanshuVerma-ig5tw
    @HimanshuVerma-ig5tw Год назад +3

    False, because ascii value of p

  • @NathanGeorgeAlexander
    @NathanGeorgeAlexander 2 месяца назад +1

    Very relevant 😊

  • @Chikoi_Mulenga
    @Chikoi_Mulenga 6 месяцев назад +4

    The answer is false x is not greater than or equal to y

  • @KaustavBhatnagar-z6s
    @KaustavBhatnagar-z6s 2 месяца назад

    Answer is 'False' 👍👍

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

    The answer will be False because x is not equal to or greater than y if you look at how many words both of them have.

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

    Good explanation but you can improve it with more examples

  • @jingersatuh6322
    @jingersatuh6322 11 месяцев назад +1

    False. In this case, "apple" is considered less than "apricot" because, at the first differing character, 'p' (in "apple") has a lower Unicode value compared to 'r' (in "apricot").

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

    Neither x is greater or equal to y.
    so the answer to the problem is False.

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

    Output:False

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

    h.w ans false

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

    HW: False

  • @NursePrudy
    @NursePrudy 9 месяцев назад

    the answer gave me a False

  • @DheerajYadav-b5n
    @DheerajYadav-b5n Месяц назад

    False h answer

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

    false

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

    1:33 Hi. How do you read this logic, 50000

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

    False

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

    FALSE

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

    false :)

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

    false

  • @rathinsinha5646
    @rathinsinha5646 9 месяцев назад

    False

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

    false

  • @Daily-j2h
    @Daily-j2h 9 месяцев назад

    False

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

    False

  • @IdirisAbdiwahid
    @IdirisAbdiwahid 9 месяцев назад

    false

  • @JuanRodriguez-ke2gq
    @JuanRodriguez-ke2gq 8 месяцев назад

    False

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

    false

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

    False

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

    false

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

    False

  • @AmbiTripathi
    @AmbiTripathi 11 дней назад

    False