camilleeb Posted February 5, 2021 Share Posted February 5, 2021 Salut ! J'ai une petite question, je comprends pas trop la différence entre a==b et a=b Est-ce que qlq pourrait m'éclairer ? Merci d'avance ! (ps: j'ai vu le post sur le forum sur ce sujet mais j'ai pas trop compris oupsi) Quote Link to comment Share on other sites More sharing options...
Ancien du Bureau Solution Sans-Visage Posted February 5, 2021 Ancien du Bureau Solution Share Posted February 5, 2021 Coucou, a == b c'est une comparaison, c'est à dire que tu demandes au programme de regarder si a est égal à b, tu pourras l'utiliser avec un if, un while,... a =b, ça signifie que dans la valeur a, tu vas stocker la valeur b, donc si b vaut 3, que tu fais a = b, a vaudra 3 C'est mieux ? zazouette, Lady_Byrdie, Pitchounou and 1 other 1 2 1 Quote Link to comment Share on other sites More sharing options...
camilleeb Posted February 5, 2021 Author Share Posted February 5, 2021 Ahhh ok, merci bcp c'est plus clair ! Quote Link to comment Share on other sites More sharing options...
Ancien du Bureau Sans-Visage Posted February 5, 2021 Ancien du Bureau Share Posted February 5, 2021 Avec plaisir :)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.