This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simple Google Maps Marker Creation Example</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
html, body { | |
height: 100%; | |
margin: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
# Check whether number is prime | |
# Source: http://www.cs.armstrong.edu/liang/py/html/PrimeNumberFunction.html | |
def isPrime(number): | |
divisor = 2 | |
while divisor <= number / 2: | |
if number % divisor == 0: | |
# If true, number is not prime | |
return False # number is not a prime |