def tweet(status): if type(status) == str or type(status) == int: if len(status) <= 140: api.update_status(status) else: print('This tweet is too long!') else: print('This is not a valid status to tweet. Try to be human.')
def continuing(status): if type(status) == str: api.update_status(status, api.me().status.id)