Question: Create a variable named sentence and assign 'I love eagles' to it Create a variable named new _ sentence and assign the sentence variable in
Create a variable named sentence and assign 'I love eagles' to it
Create a variable named newsentence and assign the sentence variable in all capital letters without any white spaces. For example, I love Eagles should be ILOVEEAGLES
Note: Your code goes in the below cell. Do not hard code it In other words, do not manually remove the white spaces and make the sentence all capital. You have to program it using Python functions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
