Question: (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,
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
Get step-by-step solutions from verified subject matter experts
