M
M
Misha Utka2021-06-06 14:02:37
Python
Misha Utka, 2021-06-06 14:02:37

Can't call a function, what should I do?

There is a function it returns To use user_id in another function but when used in another function

def izmproc(call, user_type, user_id)

return user_id

def proc_cas(call):
    user_id = izmproc(call)
    print(user_id)

izmproc(call)it requires to write in the place izmproc(call, user_type, user_id), but there is no such data in the function and an error comes out what to do, and if nothing is written, it says the arguments are missing, I use telebot

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question