This paste expires on 2023-04-15 16:38:37.315725. Repaste, or download this paste. . Pasted through web.

import cowsay
for i in dir(cowsay):
    print(i)
x=input("what do you want?")
#for example the user input trex from the dir list
output = cowsay.x
while(True):
    output("Jambu")
    
#How to tell the program to replace x with trex to get the cowsay to print the trex ascii image
Filename: Query for naming function. Size: 299b. View raw, , hex, or download this file.