Skip to content

Instantly share code, notes, and snippets.

# linked_list.py
# A simple link-based list example
"""
linked_list - An link-based list implementation for Python.
Emulates an link-based list implementation via an internal collection of
linked-list nodes. Behaves like a normal Python list via operator overloading.
"""
import copy
#include <stack>
#include <queue>
#include <cstdlib>
using namespace std;
string toLower(string strr)
{
char str[100];
string ret;
strcpy(str,strr.c_str());
#include <stack>
#include <queue>
#include <cstdlib>
using namespace std;
string toLower(string strr)
{
char str[100];
string ret;
strcpy(str,strr.c_str());
#include <stack>
#include <queue>
#include <cstdlib>
#include <string>
using namespace std;
string toLower(string strr)
{
char str[100];
#include <stack>
#include <queue>
#include <cstdlib>
#include <string>
using namespace std;
string toLower(string strr)
{
char str[100];
#include <stack>
#include <queue>
#include <cstdlib>
#include <string>
using namespace std;
string toLower(string strr)
{
char str[100];
from point_class import Point
from quad_tree_class import QuadTree
import pprint
import sys
pt1 = Point(0,0)
points = []
for i in range(-3,2):
for j in range(-3,2):
tmp = Point(i,j)
points.append(tmp)
from classes import Point, QuadTree
import sys
pt1 = Point(0,0)
points = []
for i in range(-2,1):
for j in range(-2,1):
tmp = Point(i,j)
points.append(tmp)
<div class="yourFancyBoxClass">
{% if success %}
<h2>It Worked!</h2>
{% else %}
<form action="{% url ajax_form %}">
{% form %}
</form>
{% endif %}
</div>
//To turn on the mapping stuff uncomment lines marked //--//
(function($) {
$.widget("ui.tweeter", {
options: {
url_prefix:"/",
default_value: "buffalo wild wings",
color: "#fff",
width: "50%",
speed_up_size: 25,