約383,000件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1年以内
  • 2026/5/21 -The if-else statement is used to execute one block of code when a condition is True and another block when the condition is False. It helps programs make ...

    2026/8/27 -The difference between elif and else is that elif checks a new condition, while else has no condition at all. It's the fallback that runs when nothing else ...

    2026/8/26 -3. If-elif-else - Assign 0 to z. If x is bigger than 0, print "x is a positive number". Else if x is zero, print "x is 0". Else, print "x is a negative number".

    In this Python programming tutorial for beginners, we explain if else conditional statements in Python. This video continues from the previous tutorial on ...

    YouTubeProgramsAndMe

    2025/12/8 -Conditional statements are essential for adding logic and decision-making to Python programs. Understanding how if, elif, and else work allows us to write code ...

    2026/11/7 -Python's if/elif/else statements allow your programs to make decisions by testing Boolean conditions and executing the code block of the first matching branch.

    A.ちゃんとインデントすればエラーにならず動きますよ。 知恵袋はインデントが消されるので、Python の質問には不向きです。 https://paiza.io/projects/n4I1c92m...

    A.必要な字下げ(インデント)が正しく行われていないように見えます。 print文には、インデントが必要です。

    2026/5/25 -if…elif…else are conditional statements used in Python that help you to automatically execute different code based on a particular condition.

    2026/6/16 -Hello Reddit! I have another question on my program. I am trying to loop trhough a dictionary and say soemthing akin to this:

    2026/4/22 -A beginner's guide to Python if/elif/else statements: truthy values, chained comparisons, the ternary operator, and match/case for pattern matching.

    In this video, we continue learning about Python control flow statements. You already know about the if statement, else block, and elif block, ...

    YouTubeProgramsAndMe