Write a program that accepts a word as input and determines


The following words have three consecutive letteres that are also consecutive letters in the alphabet: Thirsty, Nope, Afghanistan, Student.

Write a program that accepts a word as input and determines wehther or not it has three consecutive letters in the alphabet. The program should use a Boolean= valued function named isTripleConsecutive that accepts an entire word as input.

Example: Hijack

Hijack contains three successive letters in consecutive alphabetical order.

Solution Preview :

Prepared by a verified Expert
Python Programming: Write a program that accepts a word as input and determines
Reference No:- TGS01292772

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)