variables in python | Sololearn: Learn to code for FREE!

+9

variables in python

why variables don't have data type?

2/25/2018 11:13:29 AM

Shivani Goyal

16 Answers

New Answer

+14

they are automatically assigned, it's just how python is made, simple elegant and only requires minimum amount of code, rest Python does for you :)

+10

This is not just in Python. The same is done in VBA for variables by default, in JavaScript, and earlier it was in DBase and its descendants: FoxBase, FoxPro, Clipper.

+7

they do kinda you just don't have to pre define the data type for the variable

+1

It can't show the variable i've made

+1

Python is best I't dont like any language

+1

The variables data type are determined by their value assigned. This way a variable is flexible in its use, such as where an integer may be useful here then a float may be useful there.

+1

Becasuse we asaign a value to a variable and we decide what type of value we give to it

0

Nasıl yok var

0

Only when you declare the values, the variables can be classified

0

Python is a dynamic language

0

Depends on the values assigned to the variables

0

Bcuz they change their data types according to the output value

0

Python are lots of built in libraries and packages

-1

Python is not like other languages

-1

-1

This is python rule .