We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a497291 commit 810782bCopy full SHA for 810782b
1 file changed
greaternumberinlists.py
@@ -0,0 +1,6 @@
1
+list =[3,5,6,7,17]
2
+max_num=list[0]
3
+for num in range(1,len(list)):
4
+ if list[num]> max_num:
5
+ max_num=list[num]
6
+print max_num
0 commit comments