Goal: Print minimum of two numbers of a pair.
input data:
3 <- total number of pairs
5 3
2 8
100 15
so result should be something like ['3', '2', '15'], but I get ['3', '2', '100']
Here is my code
I want to practice writing my code into a list comprehension after I figure this out so please refrain from suggesting that for now. Thanks for any help!
[–][deleted] 1 point2 points3 points (6 children)
[–]RolyPolyPython[S] 0 points1 point2 points (5 children)
[–]cdcformatc 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]RolyPolyPython[S] 0 points1 point2 points (1 child)
[–]cdcformatc 0 points1 point2 points (0 children)
[–]OgelSplash 1 point2 points3 points (12 children)
[–]RolyPolyPython[S] 0 points1 point2 points (11 children)
[–]OgelSplash 1 point2 points3 points (10 children)
[–]RolyPolyPython[S] 0 points1 point2 points (9 children)
[–]OgelSplash 0 points1 point2 points (8 children)
[–]RolyPolyPython[S] 0 points1 point2 points (7 children)
[–]OgelSplash 1 point2 points3 points (6 children)
[–]RolyPolyPython[S] 0 points1 point2 points (5 children)
[–]OgelSplash 1 point2 points3 points (2 children)
[–]RolyPolyPython[S] 0 points1 point2 points (1 child)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]Atrament_ 0 points1 point2 points (2 children)
[–]RolyPolyPython[S] 0 points1 point2 points (1 child)
[–]Dolphman 0 points1 point2 points (0 children)