From 7404f0122d52ea31b71c795f815375e6d7cf3b19 Mon Sep 17 00:00:00 2001 From: fanjamer Date: Thu, 2 Mar 2017 08:29:27 -0500 Subject: [PATCH] Added test.py --- test.py.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 test.py.txt diff --git a/test.py.txt b/test.py.txt new file mode 100644 index 0000000..47aea42 --- /dev/null +++ b/test.py.txt @@ -0,0 +1,51 @@ +''' + +Jacob Corbley +Random Project + +''' + +'''''''''''''''''''''''''''''''''''''''''''''''' + +import time as t +import sys as s +import math as m +import random as r + +'''''''''''''''''''''''''''''''''''''''''''''''' + +def sleepMin( x ): + t.sleep( x * 60 ) +def rand( x, y ): + r.randInt( x, y ) +def menu( x ): + if x == 1: + print( "%12s" % ( "Menu" ) ) + print( "1) Calculator\n" ) + + selection = int( input( "Enter your selection here: " ) ) + else: + lineRet( 2 ) + + print( "Invalid Selection." ) + t.sleep( 2 ) + + exit( ) +def lineRet( x ): + if x == 1: + print( " " ) + elif x < 1: + print( "DevNote: lineRet( x ) fail. (lineRet x < 1)") + t.sleep( 1 ) + print( "Exiting..." ) + t.sleep( 2 ) + exit( ) + else: + print( "\n" * x ) + +'''''''''''''''''''''''''''''''''''''''''''''''' + +print( "Just a random project." ) +lineRet( 1 ) + +menu( 1 ) \ No newline at end of file