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

#**********************************************************
#Filename: 180_modulo.py
#Author: Andrew Wang - shuguang.wang1990@gmail.com
#Description: ---
#Create: 2016-11-02 01:27:40
#Last Modifieda: 2016-11-02 01:27:40
#*********************************************************

import math
print 3.14 % 2
print 3.14/2
print math.fmod(2.11, 2)
print math.fmod(10, -3.5)
print 10%-3.5
print type(divmod(0,-3.5))
