def create_playlist_for_user(spotify_obj, spotify_username, playlist_name):
    """Method that creates a playlist with given name for given username, using authorized
    spotipy.Spotify object. Created playlist ID is returned."""
    playlist = spotify_obj.user_playlist_create(spotify_username, playlist_name)
    return playlist['id']