So Alex, not knowing about the beauty of computer science, says that he will spend a couple days (oh no!) to learn about Uncle Sam from HackThisSite and how he creates his websites. He shows you the following python code that he devised up.
1 2 3 4 5 6 7 8 9 |
|
What was the output?
Assume that the functions do what they are basically told to do.
openWithHttps opens a link (like opening a tab)
storePassword gets the content of important text on a webpage. (takes in two arguments, where to go, and where to store text/output)
stripHeader takes off n, where n is the first argument.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There is not much to tell. Just open this link