Answers for "what does ^ in python"

1

what is // in python

"""
  '//' is floor division on python which mean
  the result will be rounded down (eg: 3.14 become 3), so
  
  '5 // 2' will be 2
"""
Posted by: Guest on September-15-2021
2

// in python

print(3 // 2)
# 1
print(3 / 2)
# 1.5
Posted by: Guest on October-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language