Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me with 3-7 Python language 3. Let's consider this assignment: salary = 55000 vacation = 250 Using Boolean expression, test if salary is
Please help me with 3-7
Python language
3. Let's consider this assignment: salary = 55000 vacation = 250 Using Boolean expression, test if salary is equal to 55000 and vacation is equal to 200. Use print to display the output. Using Boolean expression, test if salary is equal to 55000 or vacation is equal to 200. Use print to display the output. 4. Let's consider the following assignments: points = 14 Write a print statement that returns the remainder of points divided by 3 using a special operator (not the division one). Write another print statement that returns the integer part of points divided by 3 using a special operator (not the division one) 5. Use the floating point formatting operator (%), round the following numbers to the precision of 3 digits with 20 spaces for each number. Use a single print to display the output. 5.29679 12.67908 6. Use print to display your city and street name so the output looks like the one provided in the sample run below. Make sure to write two print statements only. 7. Use the round function to round the following float number to 3 decimal digits, and then print it: 90.09876 D FocusStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started