Python Numpy For Your Grandma - 5.4 Challenge: Prime Locations

2021 4:02
Synopsis
Given a 10x10x10 array of zeros, set (i,j,k) = 1 if: i is odd, j is even, and k is prime. In other words, set these elements to 1: {(1,0,2), ...
Download Options
Choose a download method below. All links open in new tabs.
Service Features Action
Ssvid
MP4 & MP3 • HD Quality • Browser Extension Available
Download
SaveFrom
MP4 & MP3 • HD Quality • Browser Extension Available
Download
Security Notice: These are third-party services. We recommend using antivirus software and being cautious of pop-up ads.