Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(in python please) 1. Get two numbers from users and assign them to variables x and y. If variable x is smaller than variable y,

(in python please) image text in transcribed
1. Get two numbers from users and assign them to variables x and y. If variable x is smaller than variable y, print out " x is smaller than y ". If x is equal to y print " x is equal to y ". Otherwise, print " y is smaller than x ". 2. Get a number from a user. If the number is equal to 100 print "value of the variable is 100 ". If the number is equal to 200 print "value of the variable is 200 ". If the number is equal to 300 print "value of the variable is 300 ". If the number is equal to 400 print "value of the variable is 400 ". Otherwise, print "Not found

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

More Books

Students also viewed these Databases questions

Question

How is a futures contract settled?

Answered: 1 week ago

Question

Give details of the use of ICT in workforce planning

Answered: 1 week ago

Question

Explain the various meanings of and approaches to flexible working

Answered: 1 week ago