0
Methods to call a function
On Python, how is another way to receive input() and add as parameters in a function. As example 200.43 then 10. So call a function def my_function(aaaa, bbbb): ?
3 Réponses
+ 7
You can call the function in this way:
my_function(float(input()),int(input()))
+ 2
Nicolás M S Im not really sure what you mean. Like getting user input and use that as an argument for your function?
+ 1
Yeah, I try it.