-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestfile.txt
64 lines (58 loc) · 2.51 KB
/
testfile.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Python: module doc_example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial">
<br><big><big><strong>doc_example</strong></big></big></font>
</td>
<td align=right valign=bottom>
<font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a
href="file:/Users/James/Documents/Work/AMS/training/ams_repo/python/documentation/doc_example.py">/Users/James/Documents/Work/AMS/training/ams_repo/python/documentation/doc_example.py</a>
</font>
</td>
</tr>
</table>
<p><tt># function for calculation factorial of a number<br>
# using type hints for function arguments and return value</tt>
</p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font>
</td>
</tr>
<tr>
<td bgcolor="#eeaa77"><tt> </tt></td>
<td> </td>
<td width="100%">
<dl>
<dt><a name="-factorial"><strong>factorial</strong></a>(n: int) -> int</dt>
<dd><tt><a
href="#-factorial">factorial</a>(n): Calculates factorial of a number</tt>
</dd>
</dl>
</td>
</tr>
</table>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font>
</td>
</tr>
<tr>
<td bgcolor="#55aa55"><tt> </tt></td>
<td> </td>
<td width="100%"><strong>num</strong> = 120</td>
</tr>
</table>
</body>
</html>