Hi I’m very new to using python and will be asking a lot of questions
thanks for everyone who reads my questions and answer them!
The problem I have understanding is this:
a,b=map(int,input().split())
print([’><’[a<b],’==’][a==b])
I understand that the first row which is inputting a and b in integer form
but I don’t understand the second row
is this another form of using if/else condition?
It would really help if someone can explain how it works and how I can apply it differently (ex. adding elif form, make it work in string forms)