Python Tutorials - Anagrams | Program To Check Given Two Strings Are Anagram or Not

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

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

  • @AshokKumar-mk1nr
    @AshokKumar-mk1nr 4 ปีที่แล้ว +3

    Really useful your videos and hats off for your effort... I shared to my friends, every one appreciate me.. that's for your effort.. really superb, kindly continue this work

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

    this channel is awesome! please bring videos of tough leetcode problems.

  • @ZeroSeHeroPrograming
    @ZeroSeHeroPrograming 2 ปีที่แล้ว

    Thank u so much 😍....Khup chhan explain karun sangital ahe tumhi ,I am going to watch your all videos

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

    Thank you so much your explanation of concepts really helped me

  • @nagendravarma8495
    @nagendravarma8495 5 ปีที่แล้ว +8

    I always luv to tel this I love yua voice ....

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

    Very nice program and easy to understand!!

  • @rki7068
    @rki7068 9 หลายเดือนก่อน

    From what i can tell, this program only checks to see if the two strings have the same letters but does not check to see if both are actually words/phrases

  • @adorableinsect
    @adorableinsect 2 ปีที่แล้ว

    Very helpful and clever

  • @avudaiappankannan9643
    @avudaiappankannan9643 3 ปีที่แล้ว +1

    What a explanation..! simply superb.

  • @sktalkiessj
    @sktalkiessj 2 ปีที่แล้ว

    Thnx u so much u r really a great teacher love you 🙏

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

    example with python 3.8
    print('anagram' if len(str1:=input('str: ')) == len(str2:=input('str: ')) and sorted(str1) == sorted(str2) else 'not anagram')

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

    hi madam i got one question in interview .(input is logva but output shoud be volga please explaine )

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

      Full question please :)

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

      @@AmulsAcademy codeforces.com/problemset/problem/746/B this is the link of questions

    • @ShivamSharma-py8wn
      @ShivamSharma-py8wn 4 ปีที่แล้ว +1

      @@sivakrishna9083 bro just sort the string in reverse order

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

    Can you please write programs related to simple applications like calculator, forms etc..

  • @debojitmandal8670
    @debojitmandal8670 3 ปีที่แล้ว +1

    What's the difference between sorted function and sort.str1 I thought you can sort by using sort.str1

    • @AmulsAcademy
      @AmulsAcademy  3 ปีที่แล้ว +1

      Yes but sort method modify the list in place, it sorts original list.
      In sorted, it will return new list.
      :)

  • @bhattibhumit992
    @bhattibhumit992 ปีที่แล้ว

    Check length also if it is not same than not anagram

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

    Can you make a video about pronic number

    • @AmulsAcademy
      @AmulsAcademy  5 ปีที่แล้ว

      Yes i can and i will make it soon :)

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

    Love your stuff.

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

    Write the program Abc but aA=b and b=c and c=d how will write please help me because there is no d in input

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

    thank you very much !!

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

    Can you pls tell program on pangrams

  • @dasrahul505
    @dasrahul505 5 ปีที่แล้ว

    please upload videos on python pyplot.....from its basics

  • @gayathri-8-i6s
    @gayathri-8-i6s 3 ปีที่แล้ว +1

    How to check this with multiple strings,sisy

    • @AmulsAcademy
      @AmulsAcademy  3 ปีที่แล้ว

      First take all inputs, then reverse the string and store it another variable lastly compare the input with reversed string 😊

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

    Can you please write a program to find the anagrams in a text file and returning the anagrams to a list? Please!!

  • @Paperboat786
    @Paperboat786 3 ปีที่แล้ว +1

    Sorted is not the function of strings it is function of list
    How can we check this without converting list.

    • @AmulsAcademy
      @AmulsAcademy  3 ปีที่แล้ว

      sort is a list method, you can use sorted on iterables and string is an iterable 😊

  • @223_sayyidahlubukhwakhdati6
    @223_sayyidahlubukhwakhdati6 3 ปีที่แล้ว

    Terima kasih🙏🏻

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

    any way to do this by recursion?

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

    Hi mam
    Please try to explain code for possible Anagrams for a given string .Example :bcda what are the possible Anagrams

    • @changing-hour
      @changing-hour ปีที่แล้ว

      Take the length of string then take factorial of that length

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

    Beautiful voice...

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

    Best video..

  • @shubhamku044
    @shubhamku044 5 ปีที่แล้ว

    How to create python package????

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

    Can we use sort instead of sorted?

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

      sort is a list method, we can use that only with list.
      you can convert the string to list then you can use sort().
      :)

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

      @@AmulsAcademy tq 😊

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

    Helpful 😍

  • @akhilmachaan5010
    @akhilmachaan5010 2 ปีที่แล้ว

    01:28 If you are bad, i am your dad.
    So Mr. Dad's son is Mr. Bad.

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

    How to return all possible anagrams for a given string in python ?
    Please explain

    • @mandeepubhi4744
      @mandeepubhi4744 5 ปีที่แล้ว

      Maybe You would have to use random function.