Jump to content


zhongcai Li

Member Since 13 Nov 2014
Offline Last Active Dec 02 2014 11:46 AM
-----

Topics I've Started

Chapter 7 About The Dict

13 November 2014 - 12:56 AM

it is about this code:

print(yate.include_footer({"Home":"/index.html","choose another athlete":"/cgi-bin/generate_list.py"})

sometimes ,the home comes first ,other time home comes last. how to fix it?

<p>
<a href="/cgi-bin/generate_list.py">choose another athlete</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/index.html">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;
</p>

<p>
<a href="/index.html">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/cgi-bin/generate_list.py">choose another athlete</a>&nbsp;&nbsp;&nbsp;&nbsp;
</p>