Inside app.py:
# Homepage: www.example.com
@route("/")
def homepage():
somevariable = "John"
return template("homepage.html", name=somevariable)
# About Us: www.example.com/about| int A = 12; | |
| // B is a pointer to the address of A | |
| int *B = &A; | |
| // C is a nickname for A, or a reference to A | |
| // If either A or C change, both will change. | |
| int &C = A; | |
| C=99; |
| # message.html | |
| <form class="form" action="{% url 'validate' %}" id="" method="POST"> | |
| {% comment %} csrf_token must be added for security reasons {% endcomment %} | |
| {% csrf_token %} | |
| <div class="form-group"> | |
| <label for="emailLabel">Email address</label> | |
| <input name="email" type="email" class="form-control" | |
| id="email" aria-describedby="emailLabel" placeholder="Email Address"> | |
| </div> |
| cardArray = [0] * 52 | |
| names = ["Oliver", "James", "Rui", "Ricky", "Paul"] | |
| def setCardArrayToZero(): | |
| print("Array before:") | |
| print(cardArray) | |
| for index in range(5): | |
| cardArray[index] = 0 |
| // | |
| // Queue.swift | |
| // Ekletik Studios | |
| // Custom implementation of a Queue Data Structure. | |
| // Created by Leo Neto on 3/22/18. | |
| // Copyright © 2018 Leo Neto. All rights reserved. | |
| // | |
| import Foundation |
| // | |
| // Stack.swift | |
| // Ekletik Studios | |
| // Custom implementation of a Stack Data Structure. | |
| // Created by Leo Neto on 3/21/18. | |
| // Copyright © 2018 Leo Neto. All rights reserved. | |
| // | |
| import Foundation |
Inside app.py:
# Homepage: www.example.com
@route("/")
def homepage():
somevariable = "John"
return template("homepage.html", name=somevariable)
# About Us: www.example.com/aboutI hereby claim:
To claim this, I am signing this object: