約53,600件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 ...

    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 ...

    ... If that condition is True, Python can evaluate another condition inside the first block. This allows programs to make decisions in stages. For example, a ...

    YouTubeThe Technology Teacher

    ... Python programmers make - How to apply conditional logic to real programming examples WHAT IS AN IF STATEMENT? An if statement allows your program to execute ...

    YouTubeThe Technology Teacher

    4日前 -Basically anything thats empty is False, all else are True. looking at your code, you have: age = input('Enter your age '). which is just taking a input from ...

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

    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 ...

    ... Example: Searching a List 6:50 - Using while ... else 8:40 - Best ... How To Code IF-Statements In Python | Python Programming Tutorial for Beginners.

    YouTubeCodeWithSalar

    2日前 -I am trying to complete a Python assignment that involves counting the vowels in a given string (for example, `"hello world"` should result in `3`), and then ...