summaryrefslogtreecommitdiff
path: root/progs/a418.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a418.py')
-rw-r--r--progs/a418.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a418.py b/progs/a418.py
new file mode 100644
index 0000000..233dcc1
--- /dev/null
+++ b/progs/a418.py
@@ -0,0 +1,4 @@
+import math
+def tn_gp(a,n,r):
+ tn = a * (math.pow(r, n - 1))
+ return tn \ No newline at end of file