Ask coding questions

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

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

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

robowolf (435)

Yeah that's a bug that happens to me too. Try refreshing the repl, or copy/paste the code into a new one.