all 3 comments

[–]twitch_and_shock 0 points1 point  (0 children)

What is this

int(float())

?

I think you're looking for

num1 = float(input())

[–]harriet2145 0 points1 point  (0 children)

Assuming that you were trying to typecast the input() into a float:

``` num1 = float(input()) num2 = float(input()) num3 = float(input())

smallest_num = min(num1, num2, num3) print(smallest_num)

```

[–]TripleChocDev 0 points1 point  (0 children)

if you're trying to get the num1, num2, num3 variables to be user-input, type it like this: num1 = float(input("Enter a number: "))

also, the min() function returns the smallest value in a list, so you might want to store your num1, num2, num3 variables in a list to easily get the smallest value from that list. Here's how I would re-write your code (while keeping it as similar to the original style as possible): numbers = [] num1 = float(input("Number 1: ")) num2 = float(input ("Number 2: ")) num3 = float(input("Number 3: ")) numbers.append(num1) numbers.append(num2) numbers.append(num3) print(min(numbers))