Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help me correct this code How many tablets for each cat? Instructions Problem program.py> total-luminosity = int (input(Lumi nocity:)) if total_luminosity: Each cat should

image text in transcribed

please help me correct this code

How many tablets for each cat? Instructions Problem program.py> total-luminosity = int (input("Lumi nocity:")) if total_luminosity: Each cat should be given tablets based on how much their nose is glowing. If the nose is producing: print("No tablets") print("1 table") print("2 tablets") if total_luminosity 2: . Olumens: No tablets 1 or 2 lumens: 1 tablet else: . More than 2 lumens: 2 tablets Write a program that prints out how many tablets to give to each cat. Your program should work like this: Luminosity: o No tablets Here is another exampl Submissions Output Luminosity: 2 1 tablet Luminocity:0 No tablets 2 tablets Here is a third example: Luminosity: 15 2 tablets

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

Progress Monitoring Data Tracking Organizer

Authors: Teacher'S Aid Publications

1st Edition

B0B7QCNRJ1

More Books

Students also viewed these Databases questions