Denken
Menu
  • About Me
  • Deep Learning with Pytorch
  • Generative AI: Tutorial Series
  • Python Tutorials
  • Contact Me
Menu

Python Tutorials – 1.1 – Variables and Data Types

Posted on September 19, 2017 by Aritra Sen

Before starting with Python Variables, let’s look into the different mathematical operations you can do in Python.

Python is not strictly typed language , so you don’t need declare the type of the variable and then use.You can straightway assign the values of variables and python will understand the type of the variables. Below are types of variables –

  • Numbers
  • String
  • List
  • Tuple
  • Dictionary

Category: Python

Post navigation

← Python Tutorials – 1.0 – Getting Started
Python Tutorials – 1.2 – DataTypes Conversion and Loops →

2 thoughts on “Python Tutorials – 1.1 – Variables and Data Types”

  1. Aakash says:
    May 4, 2019 at 1:15 PM

    In the first example, Since there is a print(my_list) after defining the list, shouldn’t the correct output be:

    3
    [‘Hello’, ‘Denken’, ‘3’]
    [[‘Hello’, ‘Denken’, ‘3’], [1, 2, 3]]
    2
    [‘Hello’, ‘Denken’, ‘3’]
    [1, 2, 3]
    Hello

    Reply
  2. Aritra Sen says:
    May 4, 2019 at 3:28 PM

    print(type(my_list))
    o/p – class ‘list’
    print(len(my_list))
    o/p – 3
    print(my_list)
    o/p – [‘Hello’, ‘Denken’, ‘3’]

    hope you can understand now.

    Reply

Leave a Reply to Aakash Cancel reply

Your email address will not be published. Required fields are marked *

RSS Feeds

Enter your email address:

Delivered by FeedBurner

Pages

  • About Me
  • Contact Me
  • Deep Learning with Pytorch
  • Generative AI: Tutorial Series
  • Python Tutorials

Tag Cloud

Announcements Anrdoid BERT Bias Celebration Cricket CyanogenMod deep-learning Denken Experience Facebook Features Finetuning GCN GenerativeAI GNN Google HBOOT HBOOT downgrading HTC Wildfire huggingface India Launch Life LLM Lumia 520 MachineLearning mobile My Space nlp Orkut People Python pytorch pytorch-geometric Rooting Sachin Share Social Network tranformers transformers Tutorials Twitter weight-initialization Windows Phone

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

Categories

Random Posts

  • Announcement: Launch of my YouTube channel focused on Data Science
  • Social BUZZ in Gmail
  • How to root HTC Wildfire 2.2.1 and Install Cyanogenmod
  • ML Python Tutorials – 1.0 – Dimension Reduction – PCA
  • About Me

Recent Comments

  • Generative AI: LLMs: Reduce Hallucinations with Retrieval-Augmented-Generation (RAG) 1.8 – Denken on Generative AI: LLMs: Semantic Search and Conversation Retrieval QA using Vector Store and LangChain 1.7
  • vikas on Domain Fuss
  • Kajal on Deep Learning with Pytorch -Text Generation – LSTMs – 3.3
  • Aritra Sen on Python Tutorials – 1.1 – Variables and Data Types
  • Aakash on Python Tutorials – 1.1 – Variables and Data Types

Visitors Count

AmazingCounters.com

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright

AritraSen’s site© This site has been protected from copyright by copyscape.Copying from this site is stricktly prohibited. Protected by Copyscape Original Content Validator
© 2025 Denken | Powered by Minimalist Blog WordPress Theme