Inspiration

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for s1q1_swaramulagari

burger_price = float(input("Enter the price of the burger: ")) milkshake_price = float(input("Enter the price of the milkshake: ")) dessert_price = float(input("Enter the price of the dessert: "))

def truncate_float(num): truncated_num = int(num) return truncated_num

truncated_burger_price = truncate_float(burger_price) truncated_milkshake_price = truncate_float(milkshake_price) truncated_dessert_price = truncate_float(dessert_price)

print("Truncated price of the burger:", truncated_burger_price) print("Truncated price of the milkshake:", truncated_milkshake_price) print("Truncated price of the dessert:", truncated_dessert_price)

Built With

Share this project:

Updates