The whitespaces at the beginning of the lines become part of your string if you break it like this.
Try this:
header, response = client.request(
'https://api.twitter.com/1.1/statuses/user_timeline.'
'json?include_entities=true&screen_name=' + username + '&count=1')
The strings will automatically be concatenated.