mirror of
https://github.com/kennethreitz-archive/python-project.git
synced 2026-06-05 15:30:19 +00:00
28 lines
328 B
Python
28 lines
328 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
haystack.core
|
|
~~~~~~~~~~~~~
|
|
|
|
This module contains the core Haystack functionality.
|
|
"""
|
|
|
|
|
|
from random import random
|
|
|
|
|
|
|
|
def maths(*args, **kwargs):
|
|
"""Does all the maths."""
|
|
|
|
return random()
|
|
|
|
|
|
def main():
|
|
print 'Random Number: {0}'.format(maths())
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|