Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

dodgers_tweets[0] Status(_json={'created_at': 'Thu Oct 21 04:18:58 +0000 2021', 'id': 1451040288957292544, 'id_str': '1451040288957292544', 'text': 'RT @DodgerInsider: Roberts said early indication is Justin Turner has a Grade

dodgers_tweets[0]

Status(_json={'created_at': 'Thu Oct 21 04:18:58 +0000 2021', 'id': 1451040288957292544, 'id_str': '1451040288957292544', 'text': 'RT @DodgerInsider: Roberts said early indication is Justin Turner has a Grade 2 hamstring strain: "I think that'll be it for him."', 'truncated': False, 'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [{'screen_name': 'DodgerInsider', 'name': 'Dodger Insider', 'id': 572325732, 'id_str': '572325732', 'indices': [3, 17]}], 'urls': []}, 'source': 'Twitter for iPhone', 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 23043294, 'id_str': '23043294', 'name': 'Los Angeles Dodgers', 'screen_name': 'Dodgers', 'location': '1000 Vin Scully Avenue', 'description': '2020 World Champions // Blog: @DodgerInsider', 'url': 'https://t.co/kB8jY1dHwb', 'entities': {'url': {'urls': [{'url': 'https://t.co/kB8jY1dHwb', 'expanded_url': 'http://linktree.com/dodgers', 'display_url': 'linktree.com/dodgers', 'indices': [0, 23]}]}, 'description': {'urls': []}}, 'protected': False, 'followers_count': 2355208, 'friends_count': 422, 'listed_count': 8753, 'created_at': 'Fri Mar 06 07:54:04 +0000 2009', 'favourites_count': 27153, 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'verified': True, 'statuses_count': 132364, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': True, 'profile_background_color': 'FFFFFF', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/23043294/1633546823', 'profile_link_color': '005A9C', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': 'DDFFCC', 'profile_text_color': '333333', 'profile_use_background_image': True, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'regular', 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'retweeted_status': {'created_at': 'Thu Oct 21 04:00:18 +0000 2021', 'id': 1451035589713616905, 'id_str': '1451035589713616905', 'text': 'Roberts said early indication is Justin Turner has a Grade 2 hamstring strain: "I think that'll be it for him."', 'truncated': False, 'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [], 'urls': []}, 'source': 'Twitter for iPhone', 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 572325732, 'id_str': '572325732', 'name': 'Dodger Insider', 'screen_name': 'DodgerInsider', 'location': 'Dodger Stadium', 'description': "On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", 'url': 'https://t.co/bDc0a5ZnGW', 'entities': {'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, 'protected': False, 'followers_count': 106260, 'friends_count': 399, 'listed_count': 1142, 'created_at': 'Sun May 06 02:30:36 +0000 2012', 'favourites_count': 317, 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'verified': True, 'statuses_count': 34352, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': False, 'profile_background_color': '000000', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/572325732/1620762516', 'profile_link_color': '005696', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': '000000', 'profile_text_color': '000000', 'profile_use_background_image': False, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'none', 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'retweet_count': 79, 'favorite_count': 895, 'favorited': False, 'retweeted': False, 'lang': 'en'}, 'is_quote_status': False, 'retweet_count': 79, 'favorite_count': 0, 'favorited': False, 'retweeted': False, 'lang': 'en'}, created_at=datetime.datetime(2021, 10, 21, 4, 18, 58), id=1451040288957292544, id_str='1451040288957292544', text='RT @DodgerInsider: Roberts said early indication is Justin Turner has a Grade 2 hamstring strain: "I think that'll be it for him."', truncated=False, entities={'hashtags': [], 'symbols': [], 'user_mentions': [{'screen_name': 'DodgerInsider', 'name': 'Dodger Insider', 'id': 572325732, 'id_str': '572325732', 'indices': [3, 17]}], 'urls': []}, source='Twitter for iPhone', source_url='http://twitter.com/download/iphone', in_reply_to_status_id=None, in_reply_to_status_id_str=None, in_reply_to_user_id=None, in_reply_to_user_id_str=None, in_reply_to_screen_name=None, author=User(_json={'id': 23043294, 'id_str': '23043294', 'name': 'Los Angeles Dodgers', 'screen_name': 'Dodgers', 'location': '1000 Vin Scully Avenue', 'description': '2020 World Champions // Blog: @DodgerInsider', 'url': 'https://t.co/kB8jY1dHwb', 'entities': {'url': {'urls': [{'url': 'https://t.co/kB8jY1dHwb', 'expanded_url': 'http://linktree.com/dodgers', 'display_url': 'linktree.com/dodgers', 'indices': [0, 23]}]}, 'description': {'urls': []}}, 'protected': False, 'followers_count': 2355208, 'friends_count': 422, 'listed_count': 8753, 'created_at': 'Fri Mar 06 07:54:04 +0000 2009', 'favourites_count': 27153, 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'verified': True, 'statuses_count': 132364, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': True, 'profile_background_color': 'FFFFFF', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/23043294/1633546823', 'profile_link_color': '005A9C', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': 'DDFFCC', 'profile_text_color': '333333', 'profile_use_background_image': True, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'regular', 'withheld_in_countries': []}, id=23043294, id_str='23043294', name='Los Angeles Dodgers', screen_name='Dodgers', location='1000 Vin Scully Avenue', description='2020 World Champions // Blog: @DodgerInsider', url='https://t.co/kB8jY1dHwb', entities={'url': {'urls': [{'url': 'https://t.co/kB8jY1dHwb', 'expanded_url': 'http://linktree.com/dodgers', 'display_url': 'linktree.com/dodgers', 'indices': [0, 23]}]}, 'description': {'urls': []}}, protected=False, followers_count=2355208, friends_count=422, listed_count=8753, created_at=datetime.datetime(2009, 3, 6, 7, 54, 4), favourites_count=27153, utc_offset=None, time_zone=None, geo_enabled=True, verified=True, statuses_count=132364, lang=None, contributors_enabled=False, is_translator=False, is_translation_enabled=True, profile_background_color='FFFFFF', profile_background_image_url='http://abs.twimg.com/images/themes/theme1/bg.png', profile_background_image_url_https='https://abs.twimg.com/images/themes/theme1/bg.png', profile_background_tile=False, profile_image_url='http://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', profile_image_url_https='https://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', profile_banner_url='https://pbs.twimg.com/profile_banners/23043294/1633546823', profile_link_color='005A9C', profile_sidebar_border_color='000000', profile_sidebar_fill_color='DDFFCC', profile_text_color='333333', profile_use_background_image=True, has_extended_profile=False, default_profile=False, default_profile_image=False, following=False, follow_request_sent=False, notifications=False, translator_type='regular', withheld_in_countries=[]), user=User(_json={'id': 23043294, 'id_str': '23043294', 'name': 'Los Angeles Dodgers', 'screen_name': 'Dodgers', 'location': '1000 Vin Scully Avenue', 'description': '2020 World Champions // Blog: @DodgerInsider', 'url': 'https://t.co/kB8jY1dHwb', 'entities': {'url': {'urls': [{'url': 'https://t.co/kB8jY1dHwb', 'expanded_url': 'http://linktree.com/dodgers', 'display_url': 'linktree.com/dodgers', 'indices': [0, 23]}]}, 'description': {'urls': []}}, 'protected': False, 'followers_count': 2355208, 'friends_count': 422, 'listed_count': 8753, 'created_at': 'Fri Mar 06 07:54:04 +0000 2009', 'favourites_count': 27153, 'utc_offset': None, 'time_zone': None, 'geo_enabled': True, 'verified': True, 'statuses_count': 132364, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': True, 'profile_background_color': 'FFFFFF', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/23043294/1633546823', 'profile_link_color': '005A9C', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': 'DDFFCC', 'profile_text_color': '333333', 'profile_use_background_image': True, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'regular', 'withheld_in_countries': []}, id=23043294, id_str='23043294', name='Los Angeles Dodgers', screen_name='Dodgers', location='1000 Vin Scully Avenue', description='2020 World Champions // Blog: @DodgerInsider', url='https://t.co/kB8jY1dHwb', entities={'url': {'urls': [{'url': 'https://t.co/kB8jY1dHwb', 'expanded_url': 'http://linktree.com/dodgers', 'display_url': 'linktree.com/dodgers', 'indices': [0, 23]}]}, 'description': {'urls': []}}, protected=False, followers_count=2355208, friends_count=422, listed_count=8753, created_at=datetime.datetime(2009, 3, 6, 7, 54, 4), favourites_count=27153, utc_offset=None, time_zone=None, geo_enabled=True, verified=True, statuses_count=132364, lang=None, contributors_enabled=False, is_translator=False, is_translation_enabled=True, profile_background_color='FFFFFF', profile_background_image_url='http://abs.twimg.com/images/themes/theme1/bg.png', profile_background_image_url_https='https://abs.twimg.com/images/themes/theme1/bg.png', profile_background_tile=False, profile_image_url='http://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', profile_image_url_https='https://pbs.twimg.com/profile_images/1410785012518031364/gtCtmUl2_normal.jpg', profile_banner_url='https://pbs.twimg.com/profile_banners/23043294/1633546823', profile_link_color='005A9C', profile_sidebar_border_color='000000', profile_sidebar_fill_color='DDFFCC', profile_text_color='333333', profile_use_background_image=True, has_extended_profile=False, default_profile=False, default_profile_image=False, following=False, follow_request_sent=False, notifications=False, translator_type='regular', withheld_in_countries=[]), geo=None, coordinates=None, place=None, contributors=None, retweeted_status=Status(_json={'created_at': 'Thu Oct 21 04:00:18 +0000 2021', 'id': 1451035589713616905, 'id_str': '1451035589713616905', 'text': 'Roberts said early indication is Justin Turner has a Grade 2 hamstring strain: "I think that'll be it for him."', 'truncated': False, 'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [], 'urls': []}, 'source': 'Twitter for iPhone', 'in_reply_to_status_id': None, 'in_reply_to_status_id_str': None, 'in_reply_to_user_id': None, 'in_reply_to_user_id_str': None, 'in_reply_to_screen_name': None, 'user': {'id': 572325732, 'id_str': '572325732', 'name': 'Dodger Insider', 'screen_name': 'DodgerInsider', 'location': 'Dodger Stadium', 'description': "On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", 'url': 'https://t.co/bDc0a5ZnGW', 'entities': {'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, 'protected': False, 'followers_count': 106260, 'friends_count': 399, 'listed_count': 1142, 'created_at': 'Sun May 06 02:30:36 +0000 2012', 'favourites_count': 317, 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'verified': True, 'statuses_count': 34352, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': False, 'profile_background_color': '000000', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/572325732/1620762516', 'profile_link_color': '005696', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': '000000', 'profile_text_color': '000000', 'profile_use_background_image': False, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'none', 'withheld_in_countries': []}, 'geo': None, 'coordinates': None, 'place': None, 'contributors': None, 'is_quote_status': False, 'retweet_count': 79, 'favorite_count': 895, 'favorited': False, 'retweeted': False, 'lang': 'en'}, created_at=datetime.datetime(2021, 10, 21, 4, 0, 18), id=1451035589713616905, id_str='1451035589713616905', text='Roberts said early indication is Justin Turner has a Grade 2 hamstring strain: "I think that'll be it for him."', truncated=False, entities={'hashtags': [], 'symbols': [], 'user_mentions': [], 'urls': []}, source='Twitter for iPhone', source_url='http://twitter.com/download/iphone', in_reply_to_status_id=None, in_reply_to_status_id_str=None, in_reply_to_user_id=None, in_reply_to_user_id_str=None, in_reply_to_screen_name=None, author=User(_json={'id': 572325732, 'id_str': '572325732', 'name': 'Dodger Insider', 'screen_name': 'DodgerInsider', 'location': 'Dodger Stadium', 'description': "On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", 'url': 'https://t.co/bDc0a5ZnGW', 'entities': {'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, 'protected': False, 'followers_count': 106260, 'friends_count': 399, 'listed_count': 1142, 'created_at': 'Sun May 06 02:30:36 +0000 2012', 'favourites_count': 317, 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'verified': True, 'statuses_count': 34352, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': False, 'profile_background_color': '000000', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/572325732/1620762516', 'profile_link_color': '005696', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': '000000', 'profile_text_color': '000000', 'profile_use_background_image': False, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'none', 'withheld_in_countries': []}, id=572325732, id_str='572325732', name='Dodger Insider', screen_name='DodgerInsider', location='Dodger Stadium', description="On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", url='https://t.co/bDc0a5ZnGW', entities={'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, protected=False, followers_count=106260, friends_count=399, listed_count=1142, created_at=datetime.datetime(2012, 5, 6, 2, 30, 36), favourites_count=317, utc_offset=None, time_zone=None, geo_enabled=False, verified=True, statuses_count=34352, lang=None, contributors_enabled=False, is_translator=False, is_translation_enabled=False, profile_background_color='000000', profile_background_image_url='http://abs.twimg.com/images/themes/theme1/bg.png', profile_background_image_url_https='https://abs.twimg.com/images/themes/theme1/bg.png', profile_background_tile=False, profile_image_url='http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', profile_image_url_https='https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', profile_banner_url='https://pbs.twimg.com/profile_banners/572325732/1620762516', profile_link_color='005696', profile_sidebar_border_color='000000', profile_sidebar_fill_color='000000', profile_text_color='000000', profile_use_background_image=False, has_extended_profile=False, default_profile=False, default_profile_image=False, following=False, follow_request_sent=False, notifications=False, translator_type='none', withheld_in_countries=[]), user=User(_json={'id': 572325732, 'id_str': '572325732', 'name': 'Dodger Insider', 'screen_name': 'DodgerInsider', 'location': 'Dodger Stadium', 'description': "On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", 'url': 'https://t.co/bDc0a5ZnGW', 'entities': {'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, 'protected': False, 'followers_count': 106260, 'friends_count': 399, 'listed_count': 1142, 'created_at': 'Sun May 06 02:30:36 +0000 2012', 'favourites_count': 317, 'utc_offset': None, 'time_zone': None, 'geo_enabled': False, 'verified': True, 'statuses_count': 34352, 'lang': None, 'contributors_enabled': False, 'is_translator': False, 'is_translation_enabled': False, 'profile_background_color': '000000', 'profile_background_image_url': 'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/572325732/1620762516', 'profile_link_color': '005696', 'profile_sidebar_border_color': '000000', 'profile_sidebar_fill_color': '000000', 'profile_text_color': '000000', 'profile_use_background_image': False, 'has_extended_profile': False, 'default_profile': False, 'default_profile_image': False, 'following': False, 'follow_request_sent': False, 'notifications': False, 'translator_type': 'none', 'withheld_in_countries': []}, id=572325732, id_str='572325732', name='Dodger Insider', screen_name='DodgerInsider', location='Dodger Stadium', description="On behalf of the Dodgers' official blog and magazine, it's the Dodger Insider Twitter account from @RowanKavner and @thecaryoz. // Blog: https://t.co/fUA5DHrZPS", url='https://t.co/bDc0a5ZnGW', entities={'url': {'urls': [{'url': 'https://t.co/bDc0a5ZnGW', 'expanded_url': 'http://dodgers.com/magazine', 'display_url': 'dodgers.com/magazine', 'indices': [0, 23]}]}, 'description': {'urls': [{'url': 'https://t.co/fUA5DHrZPS', 'expanded_url': 'http://dodgers.com/insider', 'display_url': 'dodgers.com/insider', 'indices': [137, 160]}]}}, protected=False, followers_count=106260, friends_count=399, listed_count=1142, created_at=datetime.datetime(2012, 5, 6, 2, 30, 36), favourites_count=317, utc_offset=None, time_zone=None, geo_enabled=False, verified=True, statuses_count=34352, lang=None, contributors_enabled=False, is_translator=False, is_translation_enabled=False, profile_background_color='000000', profile_background_image_url='http://abs.twimg.com/images/themes/theme1/bg.png', profile_background_image_url_https='https://abs.twimg.com/images/themes/theme1/bg.png', profile_background_tile=False, profile_image_url='http://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', profile_image_url_https='https://pbs.twimg.com/profile_images/1389727296320278528/NJqt9EGQ_normal.jpg', profile_banner_url='https://pbs.twimg.com/profile_banners/572325732/1620762516', profile_link_color='005696', profile_sidebar_border_color='000000', profile_sidebar_fill_color='000000', profile_text_color='000000', profile_use_background_image=False, has_extended_profile=False, default_profile=False, default_profile_image=False, following=False, follow_request_sent=False, notifications=False, translator_type='none', withheld_in_countries=[]), geo=None, coordinates=None, place=None, contributors=None, is_quote_status=False, retweet_count=79, favorite_count=895, favorited=False, retweeted=False, lang='en'), is_quote_status=False, retweet_count=79, favorite_count=0, favorited=False, retweeted=False, lang='en')

I am to extract following info from tweet and print it using func below:

defextract_text(tweet):

fortweetindodgers_tweets:

text=tweet._json["text"]

#BEGINSOLUTION

returntweet["text"]

#ENDSOLUTION

defextract_time(tweet):

#BEGINSOLUTION

fortweetindodgers_tweets:

created_at=tweet.created_at

returntweet['created_at']

print(extract_text(dodgers_tweets[0]))

print(extract_time(dodgers_tweets[0]))

This isnt working.

Could you please check my code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions