Nishant Banjadeblog.nishantbanjade.com.np·Dec 17, 2024Mastering C# Part 5.3 - TuplesTuples in C# A tuple is a data structure that can hold a fixed number of elements, where each element can have a different type. In C#, tuples are typically used to return multiple values from a method without needing to create a custom class or stru...tuples
Amulyaawscloudbasics.hashnode.dev·Dec 10, 2024Python Lists and Tuples: A Comprehensive Guide for DevOps EngineersIntroduction In the world of Python programming, lists and tuples are fundamental sequence data types that every developer and DevOps engineer should master. This guide will walk you through the basics of lists and tuples, their differences, and prac...pythonlist
Krystian Piękośblog.infotraining.pl·Dec 6, 2024How to Hash Objects Without Repetition: std::hash can be DRYIn my previous article on std::tie, I discussed how to simplify comparison operators for your classes using the std::tie() function. Now we’ll explore a more complex case. Let's create a generic implementation of a hashing function for a class or str...659 readsC++
Tochukwu Chidi Danieltochukwuchidi.hashnode.dev·Nov 30, 2024Comparing List, Tuple, and Set: Key DifferencesIntroduction In this article, we'll explore the differences between lists, tuples, and sets in Python. A basic understanding of Python syntax is assumed. Let's dive in 🚀. Lists A list is a Python object that stores multiple items of potentially diff...#python set
Shefalidevshefali.hashnode.dev·Nov 26, 2024Mastering Tuples in Python: A Comprehensive GuideTuples are an essential data structure in Python, offering a convenient way to store ordered and immutable data collections. In this blog, you’ll learn everything about tuples in Python, including creation, slicing, methods, and more. Let’s jump righ...Web Development
Arnav Singhpythonfornoobs.hashnode.dev·Nov 12, 2024Comprehensive Guide to Python Data Structures: Lists and TuplesKey Takeaways ConceptSummary ListsMutable, ordered collections that can store different types of data. Creating ListsLists can be created using square brackets []. TuplesImmutable, ordered collections that store different types of data. Cre...11 likesPython for NoobsPython
Krystian Piękośblog.infotraining.pl·Nov 7, 2024How to Simplify Object Comparisons with Ties in C++11/14When we want to check the equality of objects or compare them, we need to provide appropriate comparison operators for our class. The implementation usually needs to delegate comparisons to the corresponding member variables. The typical code might l...140 readsC++
Archana Prustyarchana77.hashnode.dev·Sep 23, 2024Day 4 Guide: Mastering Python TuplesIntroduction: Welcome to Day 4 of my Python journey! Today, I explored the fascinating world of data structures in Python, specifically TUPLES. These data types are crucial for storing and manipulating complex data. Tuple data type / Tuple class / Tu...#Python #Beginner #LearningJournal #Day3 #Lists #Tuples #Dictionaries
Shrey Dikshantshreysblog.hashnode.dev·Sep 5, 2024Mastering Python Basics: Understanding Lists and Tuples 📋🔢Python is a versatile and powerful programming language, renowned for its simplicity and readability. If you're starting your journey with Python, understanding basic data structures like lists and tuples is essential. These fundamental constructs ar...tuples
Gagan G Saralayagagang.hashnode.dev·Aug 15, 2024Lists and Tuples in PythonImagine you have a bunch of numbers and you assign a variable to each of these numbers. Now everytime you want to access these set of numbers you need to remember the variable name for each. This is a time consuming and tedious task right. This has b...Lists