Question: 3 Q1: Create a string called Q1 with the characters Welcome to EU! Q1 = 'Welcome to EU Q2: Slice Q1 to obtain only EU!

3

Q1: Create a string called Q1 with the characters "Welcome to EU!" Q1 = 'Welcome to EU" Q2: Slice Q1 to obtain only EU! ensuring there are no leading or trailing spaces, and assign it to Q2 Q2 = Q1[Q1 . find ( ' EU! ' ) : Q1. find(' EU! ' )+3]. strip() Q3: Slice Q1 to obtain only me to ensuring there are no leading or trailing spaces, and assign it to Q3. ### ENTER CODE HERE ###

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 Mathematics Questions!