ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How to Check if a Number is Even or Odd in Python

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

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

  • @RayzerBlxde
    @RayzerBlxde 7 หลายเดือนก่อน +2

    I'm curious, does this work on Python IDLE As well? I'm new to python and I've always wanted to write this type of program :D

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

    Great video. Keep up the good work.

  • @reetuverma4803
    @reetuverma4803 5 หลายเดือนก่อน +2

    Sir what is the name of this program and How can i do this

    • @moll9722
      @moll9722 4 หลายเดือนก่อน

      this is pycharm, use the community version thats free

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

      Python programming

  • @niniexo5716
    @niniexo5716 4 หลายเดือนก่อน

    I was doing a project and it has many numbers so it says number1 is not defined can you help me ?

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

    Thank you soo much. This helped me alot! Love 'ya !!♥

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

    Thanks, i am only starting with python but this helped a lot.

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

      th-cam.com/play/PLUTX0EJodOBfN6eNjHj3ZNetgyg64bJX2.html

  • @santhoshKumar-xm8pn
    @santhoshKumar-xm8pn 11 หลายเดือนก่อน +1

    Voice op.... 🔥🔥🔥

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

    Please write a program to check whether the given number is even or odd *_using class_* in python

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

    Thanks, This helped me a lot!

  • @AnoopKumar-ex8nm
    @AnoopKumar-ex8nm 3 ปีที่แล้ว +1

    Can u share ur python version

  • @AshwaniSahu-fv7jt
    @AshwaniSahu-fv7jt 9 หลายเดือนก่อน

    Sir aap jo coding kr rhe hai wo kaun sa software hai

    • @anubhav8474
      @anubhav8474 6 หลายเดือนก่อน

      "visual code studio" software

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

    wap in python language to check operator and perform operations.. pls do it

  • @Elira-jr4tv
    @Elira-jr4tv 3 ปีที่แล้ว +5

    what if the number is zero?

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

      use the elif

    • @roxxii8053
      @roxxii8053 หลายเดือนก่อน +1

      Zero is a even number

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

    return ("Even", "Odd")[number&1]

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

    Thanks Bro this helped me a lot thx 😀🙂☺

  • @sahinaakter7607
    @sahinaakter7607 3 หลายเดือนก่อน

    thanks it helped me out

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

    grate keep it up

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

    Thank you ✅

  • @naveetaturki1024
    @naveetaturki1024 6 หลายเดือนก่อน

    Thank u

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

    11/2=5.5

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

    takns

  • @lenzomvp5092
    @lenzomvp5092 2 หลายเดือนก่อน

    Subscriber for what??? You didnt even explain anything
    The reason why im watching this is im new to python you shouldve explained everything you wrote

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

    what if i wanna know if its positve or negative

    • @nottom2789
      @nottom2789 6 หลายเดือนก่อน +1

      Less than or greater than 0,
      if a < 0
      print(a, "is a negative number")
      and so on...