Thisislegal.com
:[ Offline ]:

welcome, please log-in:




 Remember Me  ?
About: Remember Me
Ticking this box will make the site remember you for 24 hours. However, each time you visit the site this time is renewed, so if you are a regular visitor you will stay logged in.


Register An Account
Forgot Password?

:[ Forums ]:
Latest Post In:
Challenge Help
Topic:
Challenge 5
By:
Tiffyish
:[ Like ]:
:[ Alexa ]:
 
:[ Forums ]:
 Thisislegal ForumsHelp → Problem 2

Topic: Problem 2
  Author:  Message:
RaducE
Offline
Forum Rank: kiddie
rankrank
avatar
Posts: 28
Thanks: 0
Contributor

thank
Sorry but i got this challenge from the net and i can't solve it.Can somebody help me?

The solution is the missing code at Line 7 that will produce the output of a as shown.

1 a = ['Ptah', 'Ra', 'Horus', 'Geb', 'Aten', 'Atum', 'Isis', 'Sobek',]
2 b = ['Thoth', 'Osiris', 'Aten',]
3 a.pop(3)
4 a.remove('Aten')
5 a.pop()
6 b.append('Nut')
7 # Deleted!
8 print a
['Ptah', 'Ra', 'Horus', 'Atum', 'Isis', 'Thoth', 'Osiris', 'Aten', 'Nut']
  #1   Back To Top
t0mmy9
Offline
Forum Rank: 1337
rankrankrankrankrank
avatar
Posts: 395
Thanks: 75
Administrator

thank
solved

for any one reading this whos curious the answer is

a.extend(b)

i can explain why if you ask.
Signatures added! go to my account to add your own
  #2   Back To Top

Locked.



Online (last 15 mins): metallover

DareYourMind   WeChall.net   Thenetsend.info   Powered by CloudFlare   Download Firefox   Opera Web Browser
Valid XHTML 1.0 Transitional
Home | Challenges | Forums | Contact | About (Disclaimer)
Copyright © 2007-12 Thisislegal.com, All Rights Reserved.


:[ ShoutBox ]:
Guest - Login to post comments


shoutbox bot:
no more proxy
iS33stars:
It helps if you read the tutorials before you attempt a challenge.
howboutdemboyzz:
wheres the proxy they offer?
mejizz420:
uh... i got lucky with the first challenge... dont really get the second challenge..
Nutu2000:
man, what are you doing here if you can't look at the source code of a web page?
adapt760:
whts the pass word for the 1st challenege
zurenarrh:
Nobody really uses the forums :/
Pages: 1, 2...343
Goto:
 
0.657 sec