Define a function which returns the current working directory


Topic: Define a function which returns the current working directory

Solution

import os
def get_cwd():
    return os.getcwd()



List all Python Programs