Skip to content
← Back to Community
run the program
Profile icon
crofeceb

sir,,i had save d the 1 st file , and when i write programm in a new file ,,when i click on run ,again 1st program output is running..pls explain it..

Voters
Profile icon
shubhamsudha
Profile icon
AnnaSahakyan
Profile icon
AishwaryaDubey1
Profile icon
crofeceb
Comments
hotnewtop
Profile icon
IlyasChafaqui
Profile icon
IlyasChafaqui
Profile icon
timmy_i_chen

Can you link us to the repl where this is happening?

Profile icon
crofeceb

@timmy_i_chen
hi sir,
https://repl.it/@crofeceb/tables-program -- this is link of mine , in that u see main.py and tables program..are different if i want to run the tables program file, it will running MAIN.PY file(while loop practice) only always ...why that happend i cant understand.. pls tell me how to run the table program file output

Profile icon
ash15khng

@crofeceb the repl always runs the main file first, to run your tables program you do
import tablepractice
and rename your file to not have a space in the name.