Ask coding questions

← Back to all posts
on replit environment print command doesn't show the output
PoojaVashist786 (1)

Below the code I wrote :

print("Day 1 - Python Print Function")
print("The function is declared like this:")
print("print('what to print"))

PoojaVashist786 (1)

Yes, now it's working, and one more thing I need to ask that every time we need to do the exercise with the same file we can not create our own practice file or folder in replit.

Bookie0 (5967)

you have to put that code in the file, not the my first print program file. if you want to use other files, you could do for example, then in main,py you do from import * which imports everything from that file.

It should then execute the code in that file.

Is this what you want? Lemme know! :D