How is Python different from basic?

Python’s for loops are completly different to BASIC’s. Instead of providing start, end and step values, you provide a list to loop over . You can get the BASIC behaviour by using the range() function to create a list of numbers to loop over, but you’ll find you almost never need to use this.

Sizin İçin Seçtik  How is python better than any other language what are the major advantages of it?

Leave a Reply

Your email address will not be published. Required fields are marked *