Use Effect With Empty Array Python Questions