Question: Hello, I have this script that return the invalid email one at the time. Can you please help me modify it so that it check

Hello, I have this script that return the invalid email one at the time. Can you please help me modify it so that it check many emails at once instead? - it has to read the csv file - itirate through the file and return the invalid email addresses.

import requests email_address = str(input('Email: ')) response = requests.get( "https://isitarealemail.com/api/email/validate", params = {'email': email_address}) status = response.json()['status'] if status == "valid": print("email is valid") elif status == "invalid": print("email is invalid") else: print("email was unknown")

Hello, I have this script that return the invalid email one at

import requests email_address = str(input('Email: ')) response = requests.get( "https://isitarealemail.com/api/email/validate", params = \{'email': email_address ) status = response.json()['status'] if status == "valid": print("email is valid") elif status == "invalid": print("email is invalid") else: print("email was unknown") Email

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!