Description:

In this lab i learn how to make a program spell a backward really cool and learned how the program count each letter.

 

Code:

 

def reverse_string():
backword=input(‘Please input a word to spell backwards\n’)
lenbackword=len(backword)
index=lenbackword-1
for char in backword:
backwordlastletter=backword[index]
print(backwordlastletter)
index=index-1

reverse_string()

Screenshot:

Part 2

Secound Part of the lab

 

Description:

In this lab i learn how to make a program order information or add more information to it.

Code:

Project4secoundd

Screenshot:

Lab4 secound part