Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Edel Philip
Philip_Arthur
Commits
7728248d
Commit
7728248d
authored
Mar 28, 2017
by
Edel Philip
Browse files
mksdmlq
parent
c189d883
Changes
1
Hide whitespace changes
Inline
Side-by-side
binary.py
View file @
7728248d
class
Binary
(
entree
):
class
Binary
(
entree
):
"""une classe pour representer les nombres binaires """
"""une classe pour representer les nombres binaires """
def
__init__
(
self
):
def
__init__
(
self
):
if
int
(
entree
)
==
entree
:
if
type
(
entree
)
is
int
:
self
.
value
=
entree
self
.
value
=
entree
\ No newline at end of file
elif
type
(
entree
)
is
list
:
pass
elif
type
(
entree
)
is
str
:
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment