Answers for "what does // mean in py"

1

what does == mean in python

if a == 2: # Compares whether a is equal to 2
    print a
Posted by: Guest on July-09-2020
0

what does == mean in python

# in python == means that is a comparisson operator meaning it compares if one 
# variable equals the other. Instead of using one = since that will assign
# a value we use ==
Posted by: Guest on November-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language