Problem Solving Using Python: Assistant Professor, Dept. of CSE, SJCET Palai
Problem Solving Using Python: Assistant Professor, Dept. of CSE, SJCET Palai
Prof. Sarju S
Assistant Professor, Dept. of CSE, SJCET Palai
Page 2
Iteration
# List of numbers
numbers = [6, 5, 3, 8, 4, 2, 5, 4, 11]
► We can also define the start, stop and step size as range(start,
stop,step_size). step_size defaults to 1 if not provided.
Thank You
Prof. Sarju S
Department of Computer Science and Engineering
St. Joseph’s College of Engineering and Technology, Palai
https://www.linkedin.com/in/sarju-s/
Email: [email protected]
Page 14