Question: 1. The following will be in the script, Lab03_01.py: a. Write a function isTripleConsecutive that takes a string and determines whether or not it has

1. The following will be in the script, Lab03_01.py: a. Write a function isTripleConsecutive that takes a string and determines whether or not it has 3 successive letters that are consecutive letters in the alphabet. Note: Use the ord function Eg. ord('A') is 65. b. Write a program to input a word and after calling the above function, display an appropriate message if the word has 3 successive letters that are consecutive letters in the alphabet. eg. THIRSTY, NOPE, AFGHANISTAN, STUDENT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
