Question
Write a python 3.x & display a comments script that examines your full name for the occurrence of a particular letter. You can use a
Write a python 3.x & display a comments script that examines your full name for the occurrence of a particular letter. You can use a membership operator in (see p. 1 in Lab2B for an example) for a condition. Your full name will be entered by the prompt titled Enter your name:, and if a particular letter (that you choose) occurs in the text, the string Yes the letter occurs in your name should be printed to the Interactive Window. If the letter does not occur in the text, the string No the letter does not occur in your name should be printed. Use input() for this script.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started