View Single Post
Old 01-24-2024, 05:13 PM   #11293
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,449
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The miserly mouse wins!

Quote:
Originally Posted by Solitaire1 View Post
I would if the Winner would find the Eight Queens Puzzle a challenge? (Take a standard Chessboard and put eight Queens on it in a way where no Queen can attack another.)
Aren't there solutions for that in multiple programming languages? I remember it being given as a problem in an online Python course and there were over 80 different programs to solve the problem. One of my fellow students convinced me that I was never going to me more than dangerous when programming in Python. The kid who wrote that solution had the only one that generated multiple placements with pretty printing. OTOH, several of the students got into trouble for copying their submitted programs from elsewhere on the Internet mostly when the 2to3 fingerprints weren't filed off.
Attached Thumbnails
Click image for larger version

Name:	8_queens_python.png
Views:	35
Size:	24.8 KB
ID:	206014  
DNSB is offline   Reply With Quote