What does // mean in python?

Asked by Last Modified  

3 Answers

Learn Python

Follow 2
Answer

Please enter your answer

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

// in Python is the floor division operator. It divides two numbers and returns the quotient without the decimal part (rounded down). Example: print(10 // 3) # Output: 3 print(-10 // 3) # Output: -4
Comments

Online Mathematics tutor with 8 years experience(Online Classes for 10th to 12th)

// in Python is the floor division operator. It divides two numbers and returns the quotient without the decimal part (rounded down). Example: print(10 // 3) # Output: 3 print(-10 // 3) # Output: -4
Comments

I am a tutor since last 1 year

// in Python is the floor division operator. It divides two numbers and returns the quotient without the decimal part (rounded down). Example: print(10 // 3) # Output: 3 print(-10 // 3) # Output: -4
Comments

View 1 more Answers

Related Questions

Which Internet companies use Python?
Many internet companies use Python, including: 1. _Google_: YouTube, Google App Engine, and Google Cloud Datastore all use Python. 2. _Instagram_: The social media platform's backend is built using...
Profile Photo
Ankur
0 0
View Comments5
I am working in a nontechnical field and i want to switch this job and work in a technical field but I am not able to decide where to start. I want to learn, but what in Python?
I can help you make a blasting entry in technical profile. You can learn Informatica+Oracle and one real time project with me. It should be enough for your future growth.
Profile Photo
Raksha
What are the best websites to learn Python from beginner level?
There are tonnes of Python learning platforms for free, and some good online couse with low cost < $10. Kindly check Udemy as well. But my recomandation is go with online instructor based class which...
Profile Photo
Tushar
0 0
View Comments9
Can I build iPhone apps using Python?
Yes, you can use PyMob app where apps can be written purely in Python, and the compiler tool flow converts them in native source codes for various platforms. But there are some cons on using PyMob, the...
Profile Photo
Sunil
0 0
View Comments5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Identifiers in Python Programming
Identifiers: These are the names that are used to identify the variables, functions, classes, modules or other objects. Whenever we define something in python and give it a name then we call it as an...
P

All About Python You Need To Know Before Starting
Python for Beginners------Anyone can learn Python Prerequisites to learn Python To learn Python we don’t require the knowledge of any other programming languages. To learn all other programming...
Profile Photo

Code: Gantt Chart: Horizontal bar using matplotlib for tasks with Start Time and End Time
import pandas as pd from datetime import datetimeimport matplotlib.dates as datesimport matplotlib.pyplot as plt def gantt_chart(df_phase): # Now convert them to matplotlib's internal format... ...
R

Rishi B.

0 0
View Comments0

Small ML Project on Simple Linear Regression
Here is a small Project on Simple Linear Regression
Profile Photo

Steps of Execution of a Python Program
When we compile a Python program, the python compiler converts the Python source code into another code called byte code. Byte code is a fixed set of instructions that represent different types of operations....
Profile Photo

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you