Kevin Tiller

Generation

generate functionSat, 22 Apr 2023

Write a function that converts an int num between 0-9 (inclusive) to its string equivalent (i.e., 1 -> "one").

def num_to_string(num): return str(num) num_to_string(1)

Want to kickstart your project?Use the new AI Studio to create your code