What is the ddiference between = and ==

Home Forums Python Course Forum Python Basics What is the ddiference between = and ==

Viewing 0 reply threads
  • Author
    Posts
    • H2k Infosys
      Keymaster
      (124.123.164.108)

      =’ is an assignment operator. It is used to assign a value to a variable. ‘==’ is however a comparison operator. It is used to check if two objects/variables are the same

      #18464

Viewing 0 reply threads
  • You must be logged in to reply to this topic.