• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

What's the differences in / and //

when I accept a challenge with a problem

operatorspython3
28th Apr 2017, 6:51 AM
Bert King
Bert King - avatar
2 Answers
+ 6
Take a look here for a deeper dig: https://www.sololearn.com/discuss/285593/?ref=app https://www.sololearn.com/discuss/270933/?ref=app https://www.sololearn.com/discuss/265045/?ref=app
28th Apr 2017, 7:12 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
the / result is float type. But the // result is int, ignore dot
28th Apr 2017, 6:53 AM
Bert King
Bert King - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Vote Code
1 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
Html learn
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Java doubt coders
0 Votes
Python ???
0 Votes