أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
For python experts only.
yes of course the python methode use type method for variable deceleration
Yes it does but in a unique way, unlike other programming languages , python variable are typed on usage, meaning we can define a variable as a integer at on point in time and later down the programming we can redefine it as character.
I guess you have used a translator for your question or typing mistake.
I didn't understand the question completely but I think I got it.
check it out if this might be the solution that you are looking for.
Yes.You can use Type for declaring a variable.
Ex: project = 36
type(project) displays type 'int'
sales=45.6
type(sales) displays type'float'
Engineer =type(sales)(project)
check the output now.