Question: I'm trying to match a variable (three at a time in the future) to a list. The list is from a txt document with dates. The variable is the current day.

I'm new to python but i found plenty of SO threads about what i tought was the problem. I didn't store the code, but I have no idea what i might have done right/wrong.

```
import datetime

now = datetime.datetime.now()
date = now.day
date = float(date)
oldDate = date - 3  # 25 at the time of testing
oldDate = float(oldDate)
# li = [23, 24, 25, 26, 27] what stuff.txt is like

with open('stuff.txt', 'rt') as f:
    lines = f.read()
    print(lines)
    if lines[2] == oldDate:
        print(1)
    else:
        print(0)

```

Right now it prints 0, but I can't figure out why i can get 1

Answer: 
Try this:

```
import {today} from "./Test.js";

```
Replace `import {today} from "./javascript/Test.js";` 

with `import {today} from "./Test";`;

Here is working demo <https://stackblitz.com/fork/react?file=index.js>