1.

Write a python program to find the cost of 50led bulbs if the cost of bulb is 67.50

Answer»

\texttt{\textsf{\large{\underline{The C{o}de!}}}}

PRICE=67.50

print('Cost of each bulb:',price)

total_bulbs=50

print('Number of bulbs:',total_bulbs)

total_price=price*total_bulbs

print('TOTAL Price:',total_price)

The QUESTION asked is very simple. We are provided with the price of each bulb and the number of bulbs and we have to find out the total cost. We can easily find out by MULTIPLYING the price of each bulb

with the total number of bulbs i.e., 67.50 × 50 = 3375.0

\texttt{\textsf{\large{\underline{The O{u}tput!}}}}

Cost of each bulb: 67.5

Number of bulbs: 50

Total Price: 3375.0

See attachment for verification.



Discussion

No Comment Found