mirror of
https://github.com/kennethreitz-archive/python-project.git
synced 2026-06-05 15:30:19 +00:00
basic module
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# -*- 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()
|
||||
Reference in New Issue
Block a user