GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Trey Hunner ? (treyhunner@mastodon.social)'s status on Wednesday, 10-Jul-2024 23:48:47 JST Trey Hunner ? Trey Hunner ?

    An "if" statement can have any number of "elif" statements after it (including none at all) and it can optionally have a single "else" statement at the end.

    Read the full article: Python's "if" statements
    ▸ https://trey.io/ZfjAHe

    #Python

    In conversation about a year ago from mastodon.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: pythonmorsels.s3.amazonaws.com
      Python's "if" statement
      from @treyhunner
      You can use Python's if, elif, and else blocks to run code only when specific conditions are met.

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.