for count in json_data['data']:
exp = str(count['expires_on'])
print(exp)
I have this piece of code that print me exp(date in format 2022-05-11). I need to create an if
condition that compares these dates from get request with current date -30 days. I'm new in Python and try many ways, may anyone help?