Specify the path

Report a typo

Take a look at the variable path: it contains a path to some folder on the computer. Process the value of the variable in such a way that it would output the following string when print() function is used:

C:\tasks\Hyperskill\new

You don't need to use print(): just perform the necessary operations on the variable.

Write a program in Python 3
path = 'C:\tasks\Hyperskill\new'
___

Create a free account to access the full topic