message=input ("enter yes if there is message in the inbox"); attached-input ("\n enter yes if there is attachment"); inbox=eval (input ("enter number of email")); while inbox > 0: if message=="yes": print ("extract the message"); if attached-="yes": print ("extract the message"); email=input ("eneter V for valied or not"); if email=="V": print ("extract attached "); print ("inject Job "); print ("inject Submission"); elif email=="N": print ("Inject an error"); print ("Remove the inbox mail "); inbox=inbox-1; else: print ("stop");

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

solve

message=input ("enter yes if there is message in the inbox");
attached=input ("\n enter yes if there is attachment");
inbox=eval (input ("enter number of email"));
while inbox > 0:
if message=="yes":
print ("extract the message");
if attached=="yes":
print ("extract the message");
email=input ("eneter V for valied or not");
if email=="V":
print ("extract attached ");
print ("inject Job ");
print ("inject Submission");
elif email=="N":
print ("Inject an error");
print ("Remove the inbox mail ");
inbox=inbox-1;
else:
print ("stop");
Transcribed Image Text:message=input ("enter yes if there is message in the inbox"); attached=input ("\n enter yes if there is attachment"); inbox=eval (input ("enter number of email")); while inbox > 0: if message=="yes": print ("extract the message"); if attached=="yes": print ("extract the message"); email=input ("eneter V for valied or not"); if email=="V": print ("extract attached "); print ("inject Job "); print ("inject Submission"); elif email=="N": print ("Inject an error"); print ("Remove the inbox mail "); inbox=inbox-1; else: print ("stop");
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Study of Characters
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning