Discover the Magic of Python's 'if' Statements

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 42

  • @sathishkumarazhaguvel
    @sathishkumarazhaguvel Рік тому +3

    Make more videos for Python. It is very useful ❤💯

  • @sathishganesan9449
    @sathishganesan9449 Рік тому +1

    Please complete python videos bro I like very much your explaination ❤

  • @Kumaresancs-ih8dx
    @Kumaresancs-ih8dx Рік тому

    Hii...
    Sir..
    My visual studio code app run doesn't have code, what's wrong with that?...

  • @rabiabasree7019
    @rabiabasree7019 Рік тому

    Naa oru program vachrkean adha xplain pannunga bro
    Num=int(input("enter a no")
    If num>=0:
    If num ==0:
    Print("zero")
    Else:
    Print("positive no")
    Else:
    Print("negative no")

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      Indha program ku output varathu

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      Oru else than Epavume varum. Rendu else varathu

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      # Input from the user
      number = float(input("Enter a number: "))
      # Check if the number is positive, negative, or zero
      if number > 0:
      print("The number is positive.")
      elif number < 0:
      print("The number is negative.")
      else:
      print("The number is zero.")
      # Explanation:
      # 1. We use the input() function to get a number from the user as input.
      # 2. We convert the input to a floating-point number using float() to handle decimal numbers.
      # 3. We use an if-elif-else statement to check the number's sign:
      # - If the number is greater than 0, it's positive, and we print "The number is positive."
      # - If the number is less than 0, it's negative, and we print "The number is negative."
      # - If the number is not greater than 0 or less than 0, it must be 0, so we print "The number is zero."

  • @pounraja4559
    @pounraja4559 Рік тому +1

    👍👍

  • @mkthamilan1307
    @mkthamilan1307 Рік тому

    Bro python programming mobile la panna lama bro

    • @mkthamilan1307
      @mkthamilan1307 Рік тому

      Example: na mobile la online work pakurenu vassukonga enna work na group sekanum epdina instagram youtube intha mathiri social media la videos post panni athula my group link ka potu antha video pathutu link thottu varuvangala avangalukku response panna num bro apdi panna lama epdi bro panrathu

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      Enakku konjam puriyala brother

  • @jothilakshmi8418
    @jothilakshmi8418 Рік тому

    Hii bro enaku oru doubt 3 dishes iruku but nan 2 dish than vanguran son athoda total varanumna code solunga

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому +1

      available_dishes = ["idli", "parotta", "dosa", "Upma"]
      if "idli" in available_dishes and "parotta" in available_dishes:
      print("Take these 2 dishes")
      elif "idli" in available_dishes or "parotta" in available_dishes:
      print("Take any one of them")
      else:
      print("Count is one")

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      Indha program summa sample than. Enakku konjam puriyala neenga sonnathu. Exact ah sonninga na I can suggest you more programs

  • @praveenjohnson6736
    @praveenjohnson6736 7 місяців тому

    Bro spelling mistake irunthalum program run agumaa

  • @dhanush404
    @dhanush404 Рік тому

    Idle editor la ,'if condition' use pannalaam thana, aprom yen neenga athula use pannala?

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому +1

      Idle eh pannalam. But future la vs code la than Django ellame pannura mari irukkum. So ipolendhe idha pazhakka paduthitta easy ah irukkum nu than 😊

  • @bhp2976
    @bhp2976 6 місяців тому

    Bro make tutorial of any frame work

  • @kamalsrinivasan6392
    @kamalsrinivasan6392 9 місяців тому

    Idle la pannumbodhu neenga ":' use panla idhula apo apo use pandreenga, adhu clear ah explain pannunga brother.

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  9 місяців тому

      Idle oru oru line ah mattum than run pannum. But text editor la mothama
      Read pannum pothu python endha statement nu kandupudikurathukaga adhalam theva padum. Idle ah ym you can use :

  • @Brsmgaming
    @Brsmgaming Рік тому

    Make more videos sir❤

    • @LearnzDevelopmentHub
      @LearnzDevelopmentHub  Рік тому

      Kandipa.. indha week end la next video upload pannuren.. I try my best 😊

  • @vimalop8690
    @vimalop8690 Рік тому

    System la type panni teach pannunga bro

  • @sindhu_m
    @sindhu_m Рік тому

    😊👍

  • @prithviraja4564
    @prithviraja4564 Рік тому

    ❤🎉

  • @FoodmakingAi
    @FoodmakingAi 8 місяців тому

  • @Thangam555
    @Thangam555 6 місяців тому

    Bro unga videos ella nalla purithu ❤😊

  • @David-xf1oz
    @David-xf1oz Рік тому

    Brother neega work panrigala ah