You asked
Is the nikon 40mm dx macro better than the 7artisans 60mm for close up flowers on a budget?
The two lenses only compete if they fit the same camera, and they don't share a mount. The Nikon AF-S DX Micro 40mm f/2.8G is for Nikon F bodies. The 7Artisans AF 40mm f/2.5 is for Sony E, Nikon Z and L-Mount. Your question says 60mm, but this site lists the 7Artisans as 40mm. It becomes the equivalent of 60mm only on APS-C, as the framing section explains.
For close-up flowers, the guide favours the Nikon. It is a macro lens, and on APS-C it frames like 60mm, which is a comfortable working distance for flowers. Its f/2.8 gives about the depth of field of f/4.2 on that sensor. That extra depth helps when you want a whole small flower sharp. The guide calls it a cheap DX macro lens, so it suits a tight budget.
The 7Artisans is the faster lens. On APS-C, f/2.5 gives about the depth of field of f/3.8, so it blurs the background a little more, but it leaves less of the flower in focus. The site doesn't describe it as a macro lens, so don't count on it for true close-up work.
The site doesn't give current prices for either lens, so the guide can't say which costs less. For a budget first kit, the guide's advice is to spend as much on the lens as on the body. Check the first-camera advice before deciding.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.