my-psb/openclassrooms-trainings/lonescripts/afficherflottant.py

17 lines
378 B
Python
Executable File

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Cours OC/python 3 - Entre chaînes et listes
[Ex 2.3: afficherflottant](https://openclassrooms.com/courses/apprenez-a-programmer-en-python/les-listes-et-tuples-2-2#/id/r-2232398)
Fournit une string formate en float
"""
from package.fonctions import afficher_flottant
afficher_flottant(1.123456789)
afficher_flottant(0.1)