Max min problem | SoloLearn: Learn to code for FREE!

+2

Max min problem

How does python compare marks like @&%=+-*/()?

2/7/2017 2:07:49 PM

C.R.Devila

3 Answers

New Answer

+3

ord("@") > ord("=") because of 64 > 61

+1

With ord(symbol), for example: ord("(")

+1

Oops, my fault But actually I mean like this: x=["@","="] print(max(x)) >>>@ Why? Why does @ lagerer than = ?