Question: Python question: i'm using Python 3, please try to make it easy as i'm a beginner. Thanks The robots are invading (your written work)! Robots
Python question: i'm using Python 3, please try to make it easy as i'm a beginner. Thanks

The robots are invading (your written work)! Robots are sneaking into your text files. Write a program that reads in a line of text from the user and prints out whether there is a robot in the line of text. If the word robot occurs in all lowercase letters in the line, print out: There is a small robot in the line. If the word ROBOT occurs in all uppercase letters in the line, print out: There is a big robot in the line. If the word robot occurs in the line in any combination of upper and lowercase letters, print out: There is a medium sized robot in the line Otherwise, if none of these conditions hold true, you should print out: No robots here. . Your program should work like this: Line: I'm baking chocolate robot brownies. There is a small robot in the line. Here is another example: Line: Look at the rOB0t down the road There is a medium sized robot in the line. If the letters robot occur in the line, but as part of a bigger word, you should not report any robots found. Line: There's a strobotron at the concert. No robots here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
