+ 1
how to find out if two strings are equal without using an if statement? In python ??
8 Answers
+ 1
Yes, WhyFry was faster
my_string1 = 'abcd'
my_string2 = 'abcd'
my_string3 = 'abc'
print(my_string1 == my_string2)
print(my_string1 == my_string3)
# Output will be:
True
False
+ 3
Thanks for your help
+ 1
0
This is the first time I have used the program so I have no idea how to use itđ
đ
đ
0
WhyFry , no. I don't have done any thing with Django until now. I have only the idea to have a look at this some times in the future.