Question: 1. Please write the following in Python 3 code. Also, write code and not psedo code. Also, show all outputs and share your code. Question:

1. Please write the following in Python 3 code. Also, write code and not psedo code. Also, show all outputs and share your code.

Question:

Create one conditional so that if Friendly is in w, then Friendly is here! should be assigned to the variable wrd. If its not, check if Friend is in w. If so, the string Friend is here! should be assigned to the variable wrd, otherwise No variation of friend is in here. should be assigned to the variable wrd. (Also consider: does the order of your conditional statements matter for this problem? Why?)

w = "Friendship is a wonderful human experience!"

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!