Simple Data Types in Python
A toy store is very successful in two of its products: clowns and dolls. Suppose, Each clown weighs 112 g and each doll 75 g. Write a program that reads the number of clowns and dolls sold in the last order and calculates the total weight of the package to be shipped.
Solution:
clown_weighs = 112
doll_weighs = 75
clowns = int(input("Enter the number of clowns to send: "))
dolls = int(input("Enter the number of dolls to send: "))
total_weighs = clown_weighs * clowns + doll_weighs * dolls
print("The total weight of the package is " + str(total_weighs))
Step 1:

Step 2:

Output:

#Python Programming Importance
Hope You will learn Something. Happy Coding.