I don't understand Python syntax, so I'm uploading it "T"

Asked 2 years ago, Updated 2 years ago, 30 views

I'm posting a question because I don't understand the syntax of other people's short coding after solving BOJ.

print("=="if a==b else"><"[a<b])

How do I understand this phrase? I think it's implicit.

python

2022-09-22 18:10

1 Answers

"--" If a==b, or "><"

That's how we used the triad operators of C and so on.


2022-09-22 18:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.