TGViewer
Channel Public Channel
Python Learning

Python Learning

@python_bds

Python learning resources

Beginner to advanced Python guides, cheatsheets, books and projects.

For data science, backend and automation.
Join πŸ‘‰ https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Subscribers
5.74K
Photos
587
Videos
2
Links
132

Showing posts older than #563 Β· Back to latest

Older Posts 20 shown
Post #561 1.8K
Python OOP : Object Oriented Programming in Python

Python Object Oriented programming OOP advanced / Scripting for projects / automation / interview questions / beginners

⏰ Free Online Course
🎬 video lessons
Rating ⭐️: 4.6 out 5
Students πŸ‘¨β€πŸŽ“ : 2,418
Duration ⏰ : 2hr 10min of on-demand video
Created by πŸ‘¨β€πŸ«: Deepali Srivastava

πŸ”— COURSE LINK


#python #programming #OOP
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
πŸ‘‰Join @python_bds for moreπŸ‘ˆ
Udemy Free Python Tutorial - Python OOP : Object Oriented Programming in Python Python Object Oriented programming OOP advanced / Scripting for projects / automation / interview questions / beginners - Free Course
Post #560 1.54K
  • ❀ 4
Post #558 1.82K
Python Roadmap for Data Science in 2024
  • πŸ‘ 2
Post #555 1.64K
Python librarian and frameworks
  • ❀ 6
  • πŸ‘ 1
Post #554 1.43K
  • πŸ‘ 8
Post #552 1.59K
Comparing tuples

A comparison operator in Python can work with tuples.
The comparison starts with a first element of each tuple. If they do not compare to =,< or > then it proceed to the second element and so on.
It starts with comparing the first element from each of the tuples
Let’s study this with an example-

#case 1
a=(5,6)
b=(1,4)
if (a>b):print("a is bigger")
else: print("b is bigger")

#case 2
a=(5,6)
b=(5,4)
if (a>b):print("a is bigger")
else: print ("b is bigger")

#case 3
a=(5,6)
b=(6,4)
if (a>b):print("a is bigger")
else: print("b is bigger")

Case1
: Comparison starts with a first element of each tuple. In this case 5>1, so the output a is bigger

Case 2: Comparison starts with a first element of each tuple. In this case 5>5 which is inconclusive. So it proceeds to the next element. 6>4, so the output a is bigger

Case 3: Comparison starts with a first element of each tuple. In this case 5>6 which is false. So it goes into the else block and prints β€œb is bigger.”


πŸ”— Read Online

#Python #python_3
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
Guru99 Python TUPLE – Pack, Unpack, Compare, Slicing, Delete, Key A Python tuple is just like a list of a sequence of immutable objects. Learn Packing, Unpacking, Comparing, Slicing and Deleting of tuples with examples in this tutorial.
  • πŸ‘ 4
Post #549 1.52K
Learn Python Programming for Ultimate Beginners

Jumpstart your Python programming career . If you are a complete beginner & want to learn Python coding from scratch

⏰ Free Online Course
🎬 video lessons
Rating ⭐️: 4.6 out 5
Students πŸ‘¨β€πŸŽ“ : 1,455
Duration ⏰ : 1hr 33min of on-demand video
Created by πŸ‘¨β€πŸ«: Mazhar Hussain

πŸ”— COURSE LINK


#python #programming
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
πŸ‘‰Join @python_bds for moreπŸ‘ˆ
Udemy Free Tutorial - Learn Python Programming for Ultimate Beginners Jumpstart your Python programming career . If you are a complete beginner & want to learn Python coding from scratch - Free Course
  • πŸ‘ 2
Post #546 1.48K
What is Tuple Matching in Python?

Tuple Matching in Python is a method of grouping the tuples by matching the second element in the tuples. It is achieved by using a dictionary by checking the second element in each tuple in python programming. However, we can make new tuples by taking portions of existing tuples.
Tuple Syntax
Tup = ('Jan','feb','march')

To write an empty tuple, you need to write as two parentheses containing nothing-
tup1 = ();

For writing tuple for a single value, you need to include a comma, even though there is a single value. Also at the end you need to write semicolon as shown below.
Tup1 = (50,);

Tuple indices begin at 0, and they can be concatenated, sliced and so on.
Tuple Assignment

Python has tuple assignment feature which enables you to assign more than one variable at a time. In here, we have assigned tuple 1 with the persons information like name, surname, birth year, etc. and another tuple 2 with the values in it like number (1,2,3,….,7).
For Example,
(name, surname, birth year, favorite movie and year, profession, birthplace) = Robert


πŸ”— Read Online

#Python #python_3
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
Join @python_bds for more cool data science materials.
*This channel belongs to @bigdataspecialist group
Guru99 Python TUPLE – Pack, Unpack, Compare, Slicing, Delete, Key A Python tuple is just like a list of a sequence of immutable objects. Learn Packing, Unpacking, Comparing, Slicing and Deleting of tuples with examples in this tutorial.
  • πŸ‘ 3
Older posts β†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook β†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 β†’