Make a Copy of Replit DB (Python)
CodingElf66

Make a Copy of Replit DB (Python)

I really need help on this, so please help!
I will be rewarding whoever answers this 5 upvotes!

You are viewing a single comment. View All
ShivankChhaya

@CodingElf66 dbCopy = db[:]
the [], takes a portion of the iterable, and [:] will copy the entire iterable