We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbdd9ae commit a691f51Copy full SHA for a691f51
profile.py
@@ -0,0 +1,14 @@
1
+# Starting Out with Python (4th Edition).
2
+# Tony Gaddis.
3
+# Page 364.
4
+# Q 11. Web Page Generator.
5
+
6
+name = input("Enter Your Name: ")
7
+describe = input("Describe Yourself: ")
8
+profile = open(r'profile.html', 'w')
9
+profile.write('<html>\n<head>\n</head>\n<body>\n\t<center>')
10
+profile.write('\n\t\t<h1>')
11
+profile.write(name)
12
+profile.write('<h1>\n\t<center>\n\t<hr />\n\t')
13
+profile.write(describe)
14
+profile.write('\n\t<hr />\n</body>\n</html>')
0 commit comments