約74,700件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1週間以内
  • 6日前 -Code language: Python (python) See the following example: age = input('Enter your age:') if int(age) >= 18: print("You're eligible to vote.") print("Let's go ...

    4日前 -First, we define a variable called door_is_locked and set it to True . Next, you'll find an if-statement. This is a so-called conditional statement. It is ...

    Learn Python If-Else Statement with simple practical examples! In this Python tutorial, you will learn: ✓ If-Else Statement Syntax ✓ True and False ...

    YouTubeCodeWaale

    1日前 -If-Else Statements (15 minutes). Expand to include the else clause: # If-else example age = 10 if age >= 13: print("You can watch a PG-13 movie") else: print ...

    'll explore if statements, one of the most important concepts in programming! If statements ... For example, imagine a program that checks whether someone is old ...

    YouTubeThe Technology Teacher

    4日前 -then your if statement: if age == 18 and has_NID: print('You are not eligible for electing') else: print('You are eligible for electing'). First thing I ...

    5日前 -Python if elif else explained: simple examples for beginners. Clear, short guide to Python if, elif, and else with simple examples you can copy and try. Learn ...

    5日前 -Here's a simple example of how conditionals work: if choresComplete: # receiveAllowance else: # you get yelled at. There are three types of conditional ...

    Module 2 of the complete Python course on dkwebsolutions. In this one-hour beginner lesson your programs learn to make decisions. We cover the if statement, ...

    YouTubeDKWEBSOLUTIONS

    Lead This short guide explains Python's if, elif, and else statements with clear examples you can copy and run immediately. Use these conditional statements to ...

    TikTokcodingmasteralyan