+ 4
how do you compare variables for ex ample you have variables a and b you want to compare them and see if they are the same
on python
14 Respuestas
+ 5
As per Aces answer.
https://code.sololearn.com/c6sVJypGStuW/?ref=app
+ 4
for compare :
a == b
and for type compare :
type(a) == type(b)
+ 2
yes
+ 1
it didnt work
+ 1
if a==b
print ("yay")
+ 1
variables
+ 1
my answers to a question a is an answer f is also an answer