Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ls
def affiche(flottant): if type(flottant) is not float: raise TypeError("impossible de charger ce nombre") flottant = str(flottant) nombre1, nombre2 = flottant.split(".") return ",".join([nombre1, nombre2[3:]]) affiche(2.555555)
run
|
edit
|
history
|
help
0
PyTypeSub
Repeated match within another regular expression
find minimum in right sorted array
(P3) Hamming 1
Greatest Common Factor (Euclidean algorithm, aka Euclid's algorithm)
PyOCP
square cube function
kenken1
Python | Random elements with atleast K occurrences
947