We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Introduction
- Python: Division
- Discussions
Python: Division
Python: Division
Sort by
recency
|
979 Discussions
|
Please Login in order to post a comment
a = int(input()) b = int(input())
Print the result of integer division
print(a // b)
Print the result of float division
print(a / b)
I've been hearing a lot about Merino wool clothing lately. Many people say it's softer, more breathable, and regulates body temperature better than other types of wool or synthetic fabrics. Some claim it's great for both summer and winter due to its moisture-wicking and odor-resistant properties.
I'm curious to know from those who have used Merino wool clothing—how does it actually perform in real-life situations? Is it worth the investment? Let me know your experiences!
a = int(input() b = int(input())
print(a//b, a/b, sep="\n")
if name == 'main': a = int(input()) b = int(input())
print(a//b) print(a/b)
For Python3 Platform