코딩/Python 3

Python 3 연산자 //

너울울대 2019. 12. 28. 11:57

연산자 //은
a // b일 경우 a 나누기 b를 한뒤 소수점 아래 숫자들을 버린다.

f. Floor Division(//)

Divides and returns the integer value of the quotient. It dumps the digits after the decimal.
https://wikidocs.net/20