loading

Short program that demonstrates use of lists in Python.

# testing lists
operatingsystems = ["Debian", "Fedora", "OpenSUSE", "Ubuntu", "LinuxMint", "FreeBSD"]
print ("The list of operating systems is: ", operatingsystems)

number = 0

for element in operatingsystems:
print (("Operating system list element:"), number, "is", operatingsystems[number])
number = number + 1

About This Instructable

232views

6favorites

License:

More by matt392:How to Write a Simple Linux Shell Script Extending Lever on Spray Bottle Hand Saw From Wood Shims and Jig Saw Blade 
Add instructable to: