Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~11.0K People Reached
Favorite Tags
Member Avatar for teddypwns

How do I get a recursive function to return a value other than None? For example: [CODE]def function(depth): if depth > 0: function(depth - 1) else: return 10 function(5)[/CODE] returns None, and not 10.

Member Avatar for ultimatebuster
0
11K
Member Avatar for teddypwns

I am trying to make a menubar for my website using CSS and HTML, but the buttons appear in reverse order. Here is some of the source: HTML: [code] <div class="hovermenu"> <ul> <li class="hovertarget"><a href="http://www.teddypwns.com/">HOME</a></li> <li class="hovertarget"><a href="http://www.teddypwns.com/contact-us/">CONTACT US</a></li> <li class="hovertarget"><a href="http://www.teddypwns.com/login.php">MEMBER LOGIN</a></li> </ul> </div> [/code] CSS: [code] .hovertarget a …

Member Avatar for teddypwns
0
187