lundi 4 novembre 2019

How to convert input to a random type? Python

I am trying to write a function that takes inputs and converts them into random types.

e.g. input as integer and output would be random of int,str,bool or float




Aucun commentaire:

Enregistrer un commentaire