samedi 4 décembre 2021

How to ask if the number is int or float for the user?

As I ask the user if the number is an integer, if he says yes, he will receive an int(input('text')) otherwise, it will receive a float(input('text')) ? ignore if i misspelled

Aucun commentaire:

Enregistrer un commentaire