What is the purpose of these?

why do we use “==” when we need to equate something and what is the purpose of ’ ’ (single quotes) ???

@Anku47 its just a syntax to equate you have to use == and if your doing a comparison with a character than you have to use ’ ’ quotes

but can we = only one time instead of twice?

@Anku47 no one time means assigning in programming language . you must use double