logo CodeStepByStep logo

relative_paths2

Language/Type: Python file input

Answer the following questions about a program located on a Linux machine in the folder /home/yana/Documents/hw6 :

a. What are the legal ways you can refer to the file /home/yana/Documents/hw6/names.txt?
(order shuffled)
b. What are the legal ways you can refer to the file /home/yana/Documents/hw6/data/numbers.txt?
(order shuffled)
c. What are the legal ways you can refer to the file /home/yana/download/saved.html?
(order shuffled)

You must log in before you can solve this problem.

Log In

Need help?

If you do not understand how to solve an exercise or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect tests, etc.), please

Is there a problem? Contact a site administrator.

©, all rights reserved.