FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/tests/expr13.py at main · certik/lpython · GitHub
certik
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
tests
/
expr13.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (21 loc) · 442 Bytes
Breadcrumbs
lpython
/
tests
/
expr13.py
Copy path
File metadata and controls
23 lines (21 loc) · 442 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
def
test_Compare
():
a
:
bool
a
=
5
>
4
a
=
5
<=
4
a
=
5
<
4
a
=
5.6
>=
5.59999
a
=
3.3
==
3.3
a
=
3.3
!=
3.4
a
=
complex
(
3
,
4
)
==
complex
(
3.
,
4.
)
# string comparison
a
=
"abc"
>
"abd"
a
=
""
<
"s"
a
=
"-abs"
>=
"abs"
a
=
"abcd"
<=
"abcde"
a
=
"abc"
==
"abc"
a
=
"abc"
!=
"abd"
a
=
""
==
"+"
a
=
True
>
False
a
=
True
==
True
a
=
False
!=
True
a
=
False
>=
True
Back
|
FazBrowse Home
|
New Git URL