Skip to content

Instantly share code, notes, and snippets.

@ashitaka1963
Created April 15, 2020 13:54
Show Gist options
  • Save ashitaka1963/33a287e1390c9cd5f666be2471a78628 to your computer and use it in GitHub Desktop.
Save ashitaka1963/33a287e1390c9cd5f666be2471a78628 to your computer and use it in GitHub Desktop.
切り上げ
a = 2.2
b = 3.5
print(math.ceil(a)) # 3
print(math.ceil(b)) # 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment