requirements.txt file just tell repl.it what to install. You still need to use the same
import statements whether you use a requirements.txt or not. Generally requirements.txt is better because the auto install doesn't always work and plus you can specify things such as custom versions by using
1.2.3 is the version number.
I am a repl.it helper. If this helped you, please consider marking as the answer and/or upvoting.