Commit 1b1ea0bb authored by HARSH  DEPAL's avatar HARSH DEPAL

final commit

parent 7a1702bf
Group number 23
Group members:
(Harsh Depal, 150050010),(Tarun Verma, 150050021),(Bhavya Choudhary, 150050028)
We have done both the bonus task XSS attack prevention and form validation.
Honor code (harsh depal):- I pledge on my honour that I have not given or received
any unauthorized assistance on this assignment or any previous task.
Honor code (tarun verma):- I pledge on my honour that I have not given or received
any unauthorized assistance on this assignment or any previous task.
Honor code (bhavya choudhary):- I pledge on my honour that I have not given or received
any unauthorized assistance on this assignment or any previous task.
Individual Percentage :
Harsh Depal:100%, Tarun Verma:100%, Bhavya Choudhary:100%
Citations:
http://www.bogotobogo.com/python/python_fncs_map_filter_reduce.php
http://stackoverflow.com/questions/10695139/sort-a-list-of-tuples-by-2nd-item-integer-value
http://www.python-course.eu/python3_lambda.php
http://stackoverflow.com/questions/15526883/convert-string-without-any-separator-to-list
http://www.python-course.eu/lambda.php
Extra Credit:
E.1) A tuple is a sequence of immutable Python objects. It can hold mutable objects such as lists. Assignments are not allowed in tuples. Yes we can append to a tuple but the id of the tupple changes. We are not updating the tuple but creating a new tupple from an old tuple.
E.2) Yes we can append elements to a list in a tuple. No this does not contradict the previous part. That's because tuples don't contain lists, strings or numbers. They contain references to other objects. The inablity to change the sequence of references a tuple contains doesn't mean that you can't mutate the object associated with those references.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment