Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (16.4k points)
I experienced the utilization of // operator instead of / in a python instructional exercise I was experiencing. What is the distinction between  / and // operator ?

1 Answer

0 votes
by (26.4k points)

You can also check your terminal, In case of Python 3.0 and above

a) / operator

>>> 5/2

2.5

b) // operator

>>5//2

2

Refer this link for information. 

Wanna become a Python expert? Come and join the python certification course and get certified.

To know more about this you can have a look at the following video tutorial:-

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Sep 30, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...