Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskB_inlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
RAJAT KAPOOR
taskB_inlab
Commits
b5807599
Commit
b5807599
authored
Aug 23, 2016
by
RAJAT KAPOOR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Task2
parent
be1f98dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
task2.py
task2.py
+9
-0
No files found.
task2.py
0 → 100755
View file @
b5807599
#!/usr/bin/python
#listinput = [(1,4,5),(3,6,1),(0,8,2)]
def
function2
(
listVariable
,
n
):
p
=
list
(
map
(
lambda
x
:(
x
[
n
]),
listVariable
))
print
(
p
)
listVariable
.
sort
(
key
=
lambda
t
:
t
[
n
])
return
listVariable
#l=function2(listinput,1)
#print(l)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment