About the Lab

To practice using for loops and the range() function, you will be creating a program that takes in a string from the user and checks if it is a palindrome. (And you'll do it without using any of Python's built-in string functions!)





Navigation and directory creation

After logging into GL, navigate to the Labs directory inside your 201 folder. Create a folder there calledl lab6, and go inside the newly created lab6 directory.

linux2[1]% cd 201
linux2[2]% cd Labs
linux2[3]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs
linux2[4]% mkdir lab6
linux2[5]% cd lab6
linux2[6]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs/lab6
linux2[7]%