Files In Python

Handing Files In Python Before proceeding make sure you know what files extension means. In most of the programs, we will use the .txt files extension. Create A New File In Python A File is not a new term to you. You know how to create a file. Opening a Notepad or any other text …

Files In Python Read More »


Sets In Python

You are lying if you say, that you are hearing sets for the first time. In Python, Set is enclosed within the Curly brackets {}. But wait a minute, didn’t we just discuss in the last article, that Dictionary is enclosed within Curly Brackets. Set also is enclosed within the curly brackets the difference is that Set has no key-value pair separated with a colon(:). But when you initialize the empty {} by default Python will take {} as Dictionary data type.


Tuples In Python

Like Eren Yeager let’s move forward. Next up in Learn Python Tutorials is Tuple. The actual definition of Tuple is “The collection of values that are separated by a comma, and are enclosed with parenthesis[which is optional]”


Learn Python Through Anime: Lists

Is It possible to store different types of value into one? I mean can String, Integer, and Float values can be stored into one variable. Lists can help us to store multiple data types into one single variable. List variable is enclosed within square brackets []. Check out this article to know more about Lists.

part4: strings

Learn Python Through Anime: Strings

You already know what strings are. Anything enclosed within double/single quotes in Python is considered to be String. The actual definition of Strings is “The sequence of characters enclosed within quotes”.  In Learn Python Through Anime: Part-4 learn moreabout Strings.