-
hackerrank.com Practice>Python>Math>Mod Divmodhackerrank.com 2019. 2. 24. 13:39728x90
hackerrank.com Mod Divmod
Problem link : https://www.hackerrank.com/challenges/python-mod-divmod/problem?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaignDifficulty : EasyTip
- divmod() return as tuple
- tuple can be accessible like array such as r[0] r[1]
Soulution
728x90'hackerrank.com' 카테고리의 다른 글
Practice>Python>Errors and Exceptions>Incorrect Regex (0) 2019.02.25 Practice>Python>Math>Power - Mod Power (0) 2019.02.24 Practice>Python>Math>Triangle Quest 2 (0) 2019.02.22 Practice>Python>Date and Time>Time Delta (0) 2019.02.17 Practice>Python>Collections>Collections.OrderedDict() (0) 2019.02.14