Oct-08-2019, 11:11 PM
Hi there everyone. I am new to python and I just wanted to know how it would be possible to generate different responses within this code depending on what I input.
Basically what I need to happen is when I input "I Lost My License", or "Problem Saving File" into the subject of the email.
I need it to output:
Dear [email protected],
Thank you for contacting our company. You will be contacted via email
to verify your license request.
Thank you,
Company Customer Service
I also need to do this with a few other responses. Would I be doing this with if statements? Please let me know if I'm on the right track at all with my code. Any modifications would help me out a ton and help my understanding with python
Thank you :)
Basically what I need to happen is when I input "I Lost My License", or "Problem Saving File" into the subject of the email.
I need it to output:
Dear [email protected],
Thank you for contacting our company. You will be contacted via email
to verify your license request.
Thank you,
Company Customer Service
I also need to do this with a few other responses. Would I be doing this with if statements? Please let me know if I'm on the right track at all with my code. Any modifications would help me out a ton and help my understanding with python
Thank you :)
print() print() email = input("Enter your Email:") name = input("Enter your Message Subject:") name = input("Enter your Message Body:") Problem_Saving_File = input ("Dear " + email + ", Thank you for contacting our company. Saving a file is done by pressing CTRL-S (Windows) or CMD-S (Mac). Thank you, Company Customer Service") I_Lost_My_License = input (" Dear " + email + ", Thank you for contacting our company. You will be contacted via email to verify your license request. Thank you, Company Customer Service")