Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pleae show me step by step python Task 3 - Ask the user to input two integers (you can use two input(..) statements) - Print

pleae show me step by step python image text in transcribed
Task 3 - Ask the user to input two integers (you can use two input(..) statements) - Print out a message depending on the supplied numbers: If the first number is bigger, print "Your first number is bigger" If the second number is bigger, print "Your second number is bigger" If both numbers are equal, print "Both numbers are the same" Task 4 Ask the user to input their name, and print out different messages depending on the givt If the user's name is "Bond", the message should be "Good morning, 007" If the user's name is "Mario", the message should be "It's a-you, Mario!" If the user's name is "Bart" or "Lisa", the message should be "The Siiimpsooons" If the user has any other name, the message should be, e.g." "Your name is Bob" Task 5 - Ask the user to input two strings - Print out the strings in alphabetical order, e.g." "The order of your strings is: Alice, Bob" - If both strings are the same, print a different message, e.g., "Your strings are both the sam Task 6 - Ask the user to input a string - Determine if the string contains the word "pizza", and if so, print "Mmm... Pizza..." - Determine if the string does not contain the word "vegan" without using an else block, and so, print "By the way, I'm vegan

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

0619064625, 978-0619064624

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago