Skip to content

Instantly share code, notes, and snippets.

@moko256
Last active October 20, 2022 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moko256/29691ed1970ad70f816f9e477cd4b0b5 to your computer and use it in GitHub Desktop.
Save moko256/29691ed1970ad70f816f9e477cd4b0b5 to your computer and use it in GitHub Desktop.
あ~!floor熱狂の音~!!!
# SPDX-License-Identifier: CC0-1.0
from math import floor
from random import random
def floor_fever(n):
""" あ~!floor熱狂の音~!!!(floorした後に小数点以下がゴキゲンに変動しはじめる)"""
return floor(n) + random()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment