Some history
= was introduced as a sign for equality in the 1500s. It was chosen because nothing could be more equal than 2 parallel lines.
The use of = for assignment was started in Fortran in the early 1950s. C and C++ continued this and introduced == for equality. This has caused great confusion and much wasted time on the part of programmers the world over.
Algol 60 used := for assignment and = for equality.
Remember: concepts, not syntax, but be careful of the syntax!