【Hacker Rank】05.Python: Division
来源:互联网 发布:方舟生存进化淘宝 编辑:程序博客网 时间:2024/06/05 15:07
Code:
# Enter your code here. Read input from STDIN. Print output to STDOUT# -*- coding:UTF-8 -*-from __future__ import division # 保留小数def div(): a = int(raw_input()) b = int(raw_input()) print a // b print a / bif __name__ == "__main__": div()
0 0
- 【Hacker Rank】05.Python: Division
- 【Hacker Rank】03.Python If-Else
- 【Hacker Rank】01.Say "Hello, World!" With Python
- 【Hacker Rank】06.Loops
- 【Hacker Rank】04.Arithmetic Operators
- 【Hacker Rank】08.Print function
- Python Division //
- 【Hacker Rank】02.Reading Raw Input
- 【Hacker Rank】07.Write a function
- Hacker Rank: Gridland Metro解题报告
- Python Division and Remainders
- Hacker Rank的一道题:Sherlock and the Beast
- python page rank
- Python中的rank()理解
- python from __future__ import division
- 有关Python中的division问题
- python from __future__ import division
- python from __future__ import division
- MySQL——存储过程和函数使用总结
- SAP新总账 凭证分割
- 公式编辑器编辑双向斜箭头的教程
- pthread_cleanup_push()/pthread_cleanup_pop()
- USB设备,鼠标,键盘使用CH372,CH375,进行模拟的历程
- 【Hacker Rank】05.Python: Division
- weex 关于weexpack 一些小理解
- centos7之lamp环境搭建
- pthread_cond_signal与pthread_cond_wait详解
- 初识vim
- shell基础
- PO BO VO DTO POJO DAO概念及其作用
- 模板之图论
- Codevs1269 匈牙利游戏 次短路spfa