Min()


#1

Is there something wrong with my code

Functions 7. 14

Oops, try again. Your code looks a bit off. Did you complete the code on line 3? Your code threw the following error: 'tuple' object is not callable

# Set minimum to the min value of any set of numbers on line 3!

min(100,25,45)

print min


#2

You should try assigning the results of your min() and printing that instead.


#3

I dont quite understand, assign?


#4

Has the course not shown you how to assign a value to a variable yet? Oh, yes it has, I found it, have a look back at 2. Variables for a refresher.

This exercise is asking that you use minimum as your variable name so you'll need to stick to that.


#5

Ok , thank you for your help


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.