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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!