Code To Convert Infix to Postfix using List in Python | Pritesh D. Patel | [in Hindi]

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

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

  • @CAT-xw9lj
    @CAT-xw9lj 3 года назад +3

    Sir, I want to thank you for this video that you uploaded. I was able to finish my task regarding INFIX to POSTFIX conversion by following your video. You literally MADE IT EASY.
    Hoping you would upload more of your knowledge.

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

    Sir I thank you and Appreciate on how you explained and simplified the code and I easily understand the code. I was able to finish my task on my school about INFIX to POSTFIX. I Very Much Thank you sir and I hope to learn from you on your next videos.

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

    Wahh great 🎉

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

    You're gonna legend soon ❣ thanku so much for the video . Keep uploading 🙏🙏🙏

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

    Thanku so much 🎉

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

    Thank you very much for this video

  • @piyapiyagill
    @piyapiyagill 11 месяцев назад

    it would have been nice if u gave the source code too in the comments or description

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

    Hi Sir, I tried for few expressions and it's working fine.Thanks!!. But for expression like infix-> (A* (B + D)/E) - F * (G + H / K)) , i am getting the output postfix-> A B D+*E/ F G H K/+*- instead of ABD+E/*FGHK/+*-
    And tried with another case like, infix-> ((A + B) - C * (D / E)) + F, getting postfix as -> A B+ - C D E/* F+ instead of AB+CDE/*-F+
    Can you please clarify on that please?

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

    is there a way you can do it without a break statement ?

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

    If two the input and top of the stack is same then

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

    For some reason, when I implement your code in python on VS, I have a weird output. If I input 2+2, i get 22% back. This occurs with any values I try, like 1+2+3*4-1 for example. That will just return 12341%. It seems like % is replacing all my operators. Any clue as to why?

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

      Email your code to pritesh.4400@gmail.com

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

      @@MAKEITEASYEASYPROGRAMMING I ended up figuring out my mistake!! A simple indentation error on the operator.append(i) command.....*sigh*..... I agree, you are great. Keep it up please!

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

      👍

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

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

    Anyone know why the line
    while(operator[-1] != "("):
    gives me IndexError: list index out of range

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

      your last while loop should be outside

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

    Sir how if infix to postfix but digits? I tried this code and if I input a two digit number say "10", the program converts it to ["1","0"]

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

      For numbers that contains two or more digit this code will not work, I will upload video for that

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

      @@MAKEITEASYEASYPROGRAMMING I see, thank you.

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

    are you gujarati?