Qiita Conference 2025

uhyo (@uhyo)

10ヶ月かけてstyled-components v4からv5にアップデートした話

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

プログラミングで数学と英語を学ぶ(その2)

Posted at

問題

使用する英単語

https://progeigo.org/learning/essential-words-600-plus/
のBから始まる単語

プログラム


# !/usr/bin/python3
# -*- coding: utf-8 -*-

# このプログラムはバグとビットバイト計算がない(そらそうだ)
# This program doesn't have bug and bit byte calc.
# ブラウザでは試してないよ
# I dindn't try this on browser.

# ベースの数
based_numgber = 1
# 分岐の数(フィボナッチは二つ目の数字で分岐するんだよ多分)
branch_number = 2
# 空白の数(途中のってことで)
blank_number = 0
# 合計をバックアップしておく
backup_numgber = branch_number

# 計算をブロックする数
block_numger = 4000000

# ブーリアンのフラグ(意味が分からん)
boolean_flag = True

while boolean_flag :
    blank_number = based_numgber + branch_number
    based_numgber = branch_number
    branch_number = blank_number

    if blank_number >= block_numger :
        break

    if blank_number % 2 == 0 :
        backup_numgber += blank_number

print(backup_numgber)

実行結果


# python3 test.py
4613732

結論

こんな変数名書かれたら怒るわ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?