Action unknown: siteexport_addpage
python:maths:start
Maths
Convertir une chaîne de caractères en float sous python
En testant si c'est possible
try:
float(s)
print('True')
except:
print('False')
donne
3.1415
True
python/maths/start.txt · Dernière modification : de physix