Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Does Python use type determining as a method for variable deceleration ?

user-image
Question added by هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)
Date Posted: 2016/11/03
abdenacer garidi
by abdenacer garidi , challenge toutes les activitees relevant de mon domaine , setirail

yes  of course the python methode use type method  for variable  deceleration

anis rahman
by anis rahman , IT Project Manager , Concentrix - India

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.

Harshal shah
by Harshal shah , Head of Data Engineering , Ecofy

Yes ofcourse. Thts the beauty of the language.

Abdul Khader Shaik
by Abdul Khader Shaik , Cyber Crime Lawyer , Grofers

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.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.