Run code from another file in python
TheImagin33r (18)

So my program is supposed to be like
if ans == 16:


the underlined part is where i want to put the code to run code from another file in the project called "game_code.py" its all in python

You are viewing a single comment. View All
Answered by ash15khng (305) [earned 5 cycles]
View Answer
TheImagin33r (18)

@ash15khng yes the file is in the same repl. Would there be a way to get a file from another repl? Im actually curious if you can do that