FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/integration_tests/bindpy_01_module.py at main · jschueller/lpython · GitHub
jschueller
/
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
/
integration_tests
/
bindpy_01_module.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (23 loc) · 537 Bytes
Breadcrumbs
lpython
/
integration_tests
/
bindpy_01_module.py
Copy path
File metadata and controls
31 lines (23 loc) · 537 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
24
25
26
27
28
29
30
31
def
get_cpython_version
():
import
platform
return
platform
.
python_version
()
def
add_ints
(
a
,
b
,
c
,
d
):
e
=
a
+
b
+
c
+
d
return
e
def
multiply_ints
(
a
,
b
,
c
,
d
):
e
=
a
*
b
*
c
*
d
return
e
def
add_unsigned_ints
(
a
,
b
,
c
,
d
):
e
=
a
+
b
+
c
+
d
return
e
def
multiply_unsigned_ints
(
a
,
b
,
c
,
d
):
e
=
a
*
b
*
c
*
d
return
e
def
add_floats
(
a
,
b
):
return
a
+
b
def
multiply_floats
(
a
,
b
):
return
a
*
b
def
get_hello_world
(
a
,
b
):
return
f"
{
a
}
{
b
}
!"
def
str_n_times
(
a
,
n
):
return
a
*
n
Back
|
FazBrowse Home
|
New Git URL