Help me {beginner}


1)dont we use semicolons after termination
2)dont we mention the data types of variables we use?..


no, no semi-colons

unless we want two lines of code on a single line:

print 1; print 2

nope, python is dynamically typed programming language. You don’t have to specify data types, python handles this for you.


If I’m not mistaken, I believe your confusion comes from the programming language Java. In Java, you need both the semicolons and the type of variable. However, these are not necessary in Python.


Not only in Java, but yes, Java is an example of a static typed programming language, the programmer has to specify the the data type.

Now we covered the difference between a dynamic typed programming and static typed language.


No,just write the character, please use quotation mark


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.