Introduction of python Introduction of python Introduction of pythonGandaraEyao
Python is a popular high-level programming language used for tasks ranging from simple plotting to complex machine learning. It has a simple syntax that makes it easy to learn. Variables in Python refer to values stored in memory and can take various data types like numbers, strings, and lists. Objects are collections of data that can be manipulated using methods. Classes define blueprints for instances of objects that share variables and methods. Basic Python syntax involves defining variables and functions using keywords like def. Common data types and operators allow performing operations. Input/output functions take user input and print output. Control flow statements like if/else, for loops, and while loops change program flow.
eg
g
s
s
skfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
eg
g
s
s
skfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
skfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
1. Variables - Learn to conveniently store data in your Python programs!
2. Numbers - Learn how numbers work behind the scenes in your Python programs!
3. Strings - Master the written word and automate messages using text!
4. Logic and Data Structures - Teach your Python programs to think and decide!
5. Loops - Save time and effort, by making computers do the hard work for you!
6. Functions - Automate Tasks by Creating your very own Python Functions that you can use over and over!
7. OOP - Add Python to Your Resumé By Mastering Object-Oriented Programming, an industry-standard programming technique!
Python is a powerful and widely used general purpose programming language. It has a simple syntax similar to the English language and allows developers to write programs with fewer lines of code compared to other languages. Python supports key data types like numbers, strings, lists, tuples, dictionaries, sets and Boolean values. It also supports common operators for arithmetic, comparison, assignment, logical, identity, membership and bitwise operations. Some key advantages of Python include being interpreted, having dynamic typing and readability due to indentation.
The document discusses functions in the Python math module. It provides a list of common mathematical functions in the math module along with a brief description of what each function does, such as ceil(x) which returns the smallest integer greater than or equal to x, copysign(x, y) which returns x with the sign of y, and factorial(x) which returns the factorial of x. It also includes trigonometric functions like sin(x), cos(x), and tan(x), their inverse functions, and functions for exponentials, logarithms, and other common mathematical operations.
The document provides an overview of the Python programming language. It discusses what Python is, its history and naming, features like being dynamically typed and interpreted, popular applications like web development, machine learning, and its architecture. It also covers Python constructs like variables, data types, operators, and strings. The document compares Python to other languages and provides examples of common Python concepts.
Python programming data types include numeric, sequences, mappings, and None. Numeric types include integer, float, boolean, and complex. Sequences include lists, tuples, and strings. Mappings include dictionaries. Operators like arithmetic, logical, identity, membership, assignment, and relational are used to perform operations. Expressions combine values and operators to evaluate to a value. Statements are units of code the interpreter can execute like assignments and prints. Input is via the input() function and output via print(). Debugging removes mistakes through syntax, logical, and runtime errors. Type conversion changes data types explicitly or implicitly.
Basic concept of Python.pptx includes design tool, identifier, variables.supriyasarkar38
This document discusses Python programming concepts including data types, variables, operators, and functions. It provides examples of Python syntax for writing and executing code as well as built-in data types like strings, integers, and lists. Key concepts covered include variables, data type casting, comments, arithmetic and comparison operators, and functions.
This document provides an introduction to the Python programming language. It discusses what Python is, why it should be used, and some key features like variables, data types, operators, conditional statements, loops, lists, tuples, modules and more. Examples are provided to demonstrate how each concept works in Python code. Links to Colab notebooks with additional Python examples and exercises are included at the end.
Python is an interpreted, object-oriented programming language that uses indentation to identify blocks of code. It is dynamically typed and strongly typed, with objects determining types at runtime rather than requiring explicit type declaration. Common data types include mutable types like lists and dictionaries as well as immutable types like strings and tuples.
The document discusses Python interview questions and answers related to Python fundamentals like data types, variables, functions, objects and classes. Some key points include:
- Python is an interpreted, interactive and object-oriented programming language. It uses indentation to identify code blocks rather than brackets.
- Python supports dynamic typing where the type is determined at runtime. It is strongly typed meaning operations inappropriate for a type will fail with an exception.
- Common data types include lists (mutable), tuples (immutable), dictionaries, strings and numbers.
- Functions use def, parameters are passed by reference, and variables can be local or global scope.
- Classes use inheritance, polymorphism and encapsulation to create
The document discusses dictionaries in Python. It explains that dictionaries are a mapping type that store key-value pairs, with keys being immutable types and values being any type. It provides examples of creating, accessing, updating, removing entries from, and accessing properties of dictionaries. It also covers functions, control flow statements like if/else and while loops, and list comprehensions.
Structured Languages- Need and Characteristics of OOP, Data Types and Modifiers, Arrays, Classes, Objects, Pointers, References, Difference between Pointers and References, Inheritance, Constructors, Destructors, and Polymorphism.
Pointers in Go store the address of a variable in memory. A pointer variable contains the address of another variable. Functions can return multiple values using named return values. Variadic functions allow a variable number of arguments. Functions in Go are first-class and can be assigned to variables, passed as arguments, and returned from other functions. The defer statement defers the execution of a function until the surrounding function returns and ensures the deferred function is called even if the program panics.
Pure Functional Programming provides concise summaries of the key points in 3 sentences or less:
Pure functional programming aims for referential transparency, totality, and determinism by treating functions as mathematical objects. This allows reasoning about programs using equational logic. Effects like I/O are modeled with types like IO that describe computations without running them. Functional programs execute by interpreting values of effect types, allowing pure code to safely interact with impure systems.
This document discusses functions in C programming. It defines a function as a section of code that performs a specific task. Functions make programming simpler by splitting problems into smaller, more manageable sub-problems. The key advantages are that problems can be viewed at a smaller scope, program development is faster, and programs are easier to maintain. There are two types of functions - library functions provided by the language and user-defined functions written by the programmer. Functions can take parameters, perform operations, and return values. Well-structured functions are important for organizing code and solving complex problems.
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...parmarjuli1412
The document provides an overview of therapeutic communication, emphasizing its importance in nursing to address patient needs and establish effective relationships. THERAPEUTIC COMMUNICATION included some topics like introduction of COMMUNICATION, definition, types, process of communication, definition therapeutic communication, goal, techniques of therapeutic communication, non-therapeutic communication, few ways to improved therapeutic communication, characteristics of therapeutic communication, barrier of THERAPEUTIC RELATIONSHIP, introduction of interpersonal relationship, types of IPR, elements/ dynamics of IPR, introduction of therapeutic nurse patient relationship, definition, purpose, elements/characteristics , and phases of therapeutic communication, definition of Johari window, uses, what actually model represent and its areas, THERAPEUTIC IMPASSES and its management in 5th semester Bsc. nursing and 2nd GNM students
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil DisobedienceRajdeep Bavaliya
Dive into the powerful journey from Thoreau’s 19th‑century essay to Gandhi’s mass movement, and discover how one man’s moral stand became the backbone of nonviolent resistance worldwide. Learn how conscience met strategy to spark revolutions, and why their legacy still inspires today’s social justice warriors. Uncover the evolution of civil disobedience. Don’t forget to like, share, and follow for more deep dives into the ideas that changed the world.
M.A. Sem - 2 | Presentation
Presentation Season - 2
Paper - 108: The American Literature
Submitted Date: April 2, 2025
Paper Name: The American Literature
Topic: Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
[Please copy the link and paste it into any web browser to access the content.]
Video Link: https://youtu.be/HXeq6utg7iQ
For a more in-depth discussion of this presentation, please visit the full blog post at the following link: https://rajdeepbavaliya2.blogspot.com/2025/04/thoreau-s-influence-on-gandhi-the-evolution-of-civil-disobedience.html
Please visit this blog to explore additional presentations from this season:
Hashtags:
#CivilDisobedience #ThoreauToGandhi #NonviolentResistance #Satyagraha #Transcendentalism #SocialJustice #HistoryUncovered #GandhiLegacy #ThoreauInfluence #PeacefulProtest
Keyword Tags:
civil disobedience, Thoreau, Gandhi, Satyagraha, nonviolent protest, transcendentalism, moral resistance, Gandhi Thoreau connection, social change, political philosophy
More Related Content
Similar to Intro to python programming (basics) in easy language (20)
eg
g
s
s
skfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
eg
g
s
s
skfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
skfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadscskfspgkspgkpegkpegkhpehkpweakpwdwacsadsc
1. Variables - Learn to conveniently store data in your Python programs!
2. Numbers - Learn how numbers work behind the scenes in your Python programs!
3. Strings - Master the written word and automate messages using text!
4. Logic and Data Structures - Teach your Python programs to think and decide!
5. Loops - Save time and effort, by making computers do the hard work for you!
6. Functions - Automate Tasks by Creating your very own Python Functions that you can use over and over!
7. OOP - Add Python to Your Resumé By Mastering Object-Oriented Programming, an industry-standard programming technique!
Python is a powerful and widely used general purpose programming language. It has a simple syntax similar to the English language and allows developers to write programs with fewer lines of code compared to other languages. Python supports key data types like numbers, strings, lists, tuples, dictionaries, sets and Boolean values. It also supports common operators for arithmetic, comparison, assignment, logical, identity, membership and bitwise operations. Some key advantages of Python include being interpreted, having dynamic typing and readability due to indentation.
The document discusses functions in the Python math module. It provides a list of common mathematical functions in the math module along with a brief description of what each function does, such as ceil(x) which returns the smallest integer greater than or equal to x, copysign(x, y) which returns x with the sign of y, and factorial(x) which returns the factorial of x. It also includes trigonometric functions like sin(x), cos(x), and tan(x), their inverse functions, and functions for exponentials, logarithms, and other common mathematical operations.
The document provides an overview of the Python programming language. It discusses what Python is, its history and naming, features like being dynamically typed and interpreted, popular applications like web development, machine learning, and its architecture. It also covers Python constructs like variables, data types, operators, and strings. The document compares Python to other languages and provides examples of common Python concepts.
Python programming data types include numeric, sequences, mappings, and None. Numeric types include integer, float, boolean, and complex. Sequences include lists, tuples, and strings. Mappings include dictionaries. Operators like arithmetic, logical, identity, membership, assignment, and relational are used to perform operations. Expressions combine values and operators to evaluate to a value. Statements are units of code the interpreter can execute like assignments and prints. Input is via the input() function and output via print(). Debugging removes mistakes through syntax, logical, and runtime errors. Type conversion changes data types explicitly or implicitly.
Basic concept of Python.pptx includes design tool, identifier, variables.supriyasarkar38
This document discusses Python programming concepts including data types, variables, operators, and functions. It provides examples of Python syntax for writing and executing code as well as built-in data types like strings, integers, and lists. Key concepts covered include variables, data type casting, comments, arithmetic and comparison operators, and functions.
This document provides an introduction to the Python programming language. It discusses what Python is, why it should be used, and some key features like variables, data types, operators, conditional statements, loops, lists, tuples, modules and more. Examples are provided to demonstrate how each concept works in Python code. Links to Colab notebooks with additional Python examples and exercises are included at the end.
Python is an interpreted, object-oriented programming language that uses indentation to identify blocks of code. It is dynamically typed and strongly typed, with objects determining types at runtime rather than requiring explicit type declaration. Common data types include mutable types like lists and dictionaries as well as immutable types like strings and tuples.
The document discusses Python interview questions and answers related to Python fundamentals like data types, variables, functions, objects and classes. Some key points include:
- Python is an interpreted, interactive and object-oriented programming language. It uses indentation to identify code blocks rather than brackets.
- Python supports dynamic typing where the type is determined at runtime. It is strongly typed meaning operations inappropriate for a type will fail with an exception.
- Common data types include lists (mutable), tuples (immutable), dictionaries, strings and numbers.
- Functions use def, parameters are passed by reference, and variables can be local or global scope.
- Classes use inheritance, polymorphism and encapsulation to create
The document discusses dictionaries in Python. It explains that dictionaries are a mapping type that store key-value pairs, with keys being immutable types and values being any type. It provides examples of creating, accessing, updating, removing entries from, and accessing properties of dictionaries. It also covers functions, control flow statements like if/else and while loops, and list comprehensions.
Structured Languages- Need and Characteristics of OOP, Data Types and Modifiers, Arrays, Classes, Objects, Pointers, References, Difference between Pointers and References, Inheritance, Constructors, Destructors, and Polymorphism.
Pointers in Go store the address of a variable in memory. A pointer variable contains the address of another variable. Functions can return multiple values using named return values. Variadic functions allow a variable number of arguments. Functions in Go are first-class and can be assigned to variables, passed as arguments, and returned from other functions. The defer statement defers the execution of a function until the surrounding function returns and ensures the deferred function is called even if the program panics.
Pure Functional Programming provides concise summaries of the key points in 3 sentences or less:
Pure functional programming aims for referential transparency, totality, and determinism by treating functions as mathematical objects. This allows reasoning about programs using equational logic. Effects like I/O are modeled with types like IO that describe computations without running them. Functional programs execute by interpreting values of effect types, allowing pure code to safely interact with impure systems.
This document discusses functions in C programming. It defines a function as a section of code that performs a specific task. Functions make programming simpler by splitting problems into smaller, more manageable sub-problems. The key advantages are that problems can be viewed at a smaller scope, program development is faster, and programs are easier to maintain. There are two types of functions - library functions provided by the language and user-defined functions written by the programmer. Functions can take parameters, perform operations, and return values. Well-structured functions are important for organizing code and solving complex problems.
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...parmarjuli1412
The document provides an overview of therapeutic communication, emphasizing its importance in nursing to address patient needs and establish effective relationships. THERAPEUTIC COMMUNICATION included some topics like introduction of COMMUNICATION, definition, types, process of communication, definition therapeutic communication, goal, techniques of therapeutic communication, non-therapeutic communication, few ways to improved therapeutic communication, characteristics of therapeutic communication, barrier of THERAPEUTIC RELATIONSHIP, introduction of interpersonal relationship, types of IPR, elements/ dynamics of IPR, introduction of therapeutic nurse patient relationship, definition, purpose, elements/characteristics , and phases of therapeutic communication, definition of Johari window, uses, what actually model represent and its areas, THERAPEUTIC IMPASSES and its management in 5th semester Bsc. nursing and 2nd GNM students
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil DisobedienceRajdeep Bavaliya
Dive into the powerful journey from Thoreau’s 19th‑century essay to Gandhi’s mass movement, and discover how one man’s moral stand became the backbone of nonviolent resistance worldwide. Learn how conscience met strategy to spark revolutions, and why their legacy still inspires today’s social justice warriors. Uncover the evolution of civil disobedience. Don’t forget to like, share, and follow for more deep dives into the ideas that changed the world.
M.A. Sem - 2 | Presentation
Presentation Season - 2
Paper - 108: The American Literature
Submitted Date: April 2, 2025
Paper Name: The American Literature
Topic: Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
[Please copy the link and paste it into any web browser to access the content.]
Video Link: https://youtu.be/HXeq6utg7iQ
For a more in-depth discussion of this presentation, please visit the full blog post at the following link: https://rajdeepbavaliya2.blogspot.com/2025/04/thoreau-s-influence-on-gandhi-the-evolution-of-civil-disobedience.html
Please visit this blog to explore additional presentations from this season:
Hashtags:
#CivilDisobedience #ThoreauToGandhi #NonviolentResistance #Satyagraha #Transcendentalism #SocialJustice #HistoryUncovered #GandhiLegacy #ThoreauInfluence #PeacefulProtest
Keyword Tags:
civil disobedience, Thoreau, Gandhi, Satyagraha, nonviolent protest, transcendentalism, moral resistance, Gandhi Thoreau connection, social change, political philosophy
Himachal Pradesh’s beautiful hills have long faced a challenge: limited access to quality education and career opportunities for students in remote towns and villages. Many young people had to leave their homes in search of better learning and growth, creating a gap between talent and opportunity.
Vikas Bansal, a visionary leader, decided to change this by bringing education directly to the heart of the Himalayas. He founded the Himalayan Group of Professional Institutions, offering courses in engineering, management, pharmacy, law, and more. These institutions are more than just schools—they are centers of hope and transformation.
By introducing digital classrooms, smart labs, and practical workshops, Vikas ensures that students receive modern, high-quality education without needing to leave their hometowns. His skill development programs prepare youth for real-world careers by teaching technical and leadership skills, with strong industry partnerships and hands-on training.
Vikas also focuses on inclusivity, providing scholarships, career counseling, and support to underprivileged and first-generation learners. His quiet but impactful leadership is turning Himachal Pradesh into a knowledge hub, empowering a new generation to build a brighter future right in their own hills.
Available Sun June 8th, for Weekend June 14th/15th.
Timeless for Summer 25.
Our libraries do host classes for a year plus in most shops. Timelines do vary.
See also our Workshops 8, 9, and 2 Grad/Guest Updates.
Workshop 9 was uploaded early also for Weekend June 14th/15th.
Reiki Yoga Level 1 - Practitioner Studies. For our June Schedules
I luv the concept of effortless learning. My Background includes traditional & Distant Education. My Fav classes were online. A few on Campus recent years.
So, for LDMMIA I believe in Self-Help, Self-Care, Self-Serve lol. “How can my followers/readers privately attend courses?” So this season, I do want to expand our new Merch Shop. This includes digital production like no other - Wow. More Updates this Mo lol.
Merch Host: teespring.com
How to Manage & Create a New Department in Odoo 18 EmployeeCeline George
In Odoo 18's Employee module, organizing your workforce into departments enhances management and reporting efficiency. Departments are a crucial organizational unit within the Employee module.
How to Create an Event in Odoo 18 - Odoo 18 SlidesCeline George
Creating an event in Odoo 18 is a straightforward process that allows you to manage various aspects of your event efficiently.
Odoo 18 Events Module is a powerful tool for organizing and managing events of all sizes, from conferences and workshops to webinars and meetups.
Unit- 4 Biostatistics & Research Methodology.pdfKRUTIKA CHANNE
Blocking and confounding (when a third variable, or confounder, influences both the exposure and the outcome) system for Two-level factorials (a type of experimental design where each factor (independent variable) is investigated at only two levels, typically denoted as "high" and "low" or "+1" and "-1")
Regression modeling (statistical model that estimates the relationship between one dependent variable and one or more independent variables using a line): Hypothesis testing in Simple and Multiple regression models
Introduction to Practical components of Industrial and Clinical Trials Problems: Statistical Analysis Using Excel, SPSS, MINITAB®️, DESIGN OF EXPERIMENTS, R - Online Statistical Software to Industrial and Clinical trial approach
How to Manage Multi Language for Invoice in Odoo 18Celine George
Odoo supports multi-language functionality for invoices, allowing you to generate invoices in your customers’ preferred languages. Multi-language support for invoices is crucial for businesses operating in global markets or dealing with customers from different linguistic backgrounds.
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptxArshad Shaikh
Wheat, sorghum, and bajra (pearl millet) are susceptible to various pests that can significantly impact crop yields. Common pests include aphids, stem borers, shoot flies, and armyworms. Aphids feed on plant sap, weakening the plants, while stem borers and shoot flies damage the stems and shoots, leading to dead hearts and reduced growth. Armyworms, on the other hand, are voracious feeders that can cause extensive defoliation and grain damage. Effective management strategies, including resistant varieties, cultural practices, and targeted pesticide applications, are essential to mitigate pest damage and ensure healthy crop production.
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...Rajdeep Bavaliya
Get ready to embark on a cosmic quest as we unpack the archetypal power behind Christopher Nolan’s ‘Interstellar.’ Discover how hero’s journey tropes, mythic symbols like wormholes and tesseracts, and themes of love, sacrifice, and environmental urgency shape this epic odyssey. Whether you’re a film theory buff or a casual viewer, you’ll learn why Cooper’s journey resonates with timeless myths—and what it means for our own future. Smash that like button, and follow for more deep dives into cinema’s greatest stories!
M.A. Sem - 2 | Presentation
Presentation Season - 2
Paper - 109: Literary Theory & Criticism and Indian Aesthetics
Submitted Date: April 5, 2025
Paper Name: Literary Theory & Criticism and Indian Aesthetics
Topic: Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes in Nolan’s Cosmic Odyssey
[Please copy the link and paste it into any web browser to access the content.]
Video Link: https://youtu.be/vHLaLZPHumk
For a more in-depth discussion of this presentation, please visit the full blog post at the following link: https://rajdeepbavaliya2.blogspot.com/2025/04/archetypal-journeys-in-interstellar-exploring-universal-themes-in-nolan-s-cosmic-odyssey.html
Please visit this blog to explore additional presentations from this season:
Hashtags:
#ChristopherNolan #Interstellar #NolanFilms #HeroJourney #CosmicOdyssey #FilmTheory #ArchetypalCriticism #SciFiCinema #TimeDilation #EnvironmentalCinema #MythicStorytelling
Keyword Tags:
Interstellar analysis, Christopher Nolan archetypes, hero’s journey explained, wormhole symbolism, tesseract meaning, myth in sci-fi, cinematic archetypes, environmental themes film, love across time, Nolan film breakdown
Exploring Ocean Floor Features for Middle SchoolMarie
This 16 slide science reader is all about ocean floor features. It was made to use with middle school students.
You can download the PDF at thehomeschooldaily.com
Thanks! Marie
THE QUIZ CLUB OF PSGCAS BRINGS T0 YOU A FUN-FILLED, SEAT EDGE BUSINESS QUIZ
DIVE INTO THE PRELIMS OF BIZCOM 2024
QM: GOWTHAM S
BCom (2022-25)
THE QUIZ CLUB OF PSGCAS
Completed Sunday 6/8. For Weekend 6/14 & 15th. (Fathers Day Weekend US.) These workshops are also timeless for future students TY. No admissions needed.
A 9th FREE WORKSHOP
Reiki - Yoga
“Intuition-II, The Chakras”
Your Attendance is valued.
We hit over 5k views for Spring Workshops and Updates-TY.
Thank you for attending our workshops.
If you are new, do welcome.
Grad Students: I am planning a Reiki-Yoga Master Course (As a package). I’m Fusing both together.
This will include the foundation of each practice. Our Free Workshops can be used with any Reiki Yoga training package. Traditional Reiki does host rules and ethics. Its silent and within the JP Culture/Area/Training/Word of Mouth. It allows remote healing but there’s limits As practitioners and masters, we are not allowed to share certain secrets/tools. Some content is designed only for “Masters”. Some yoga are similar like the Kriya Yoga-Church (Vowed Lessons). We will review both Reiki and Yoga (Master tools) in the Course upcoming.
S9/This Week’s Focus:
* A continuation of Intuition-2 Development. We will review the Chakra System - Our temple. A misguided, misused situation lol. This will also serve Attunement later.
Thx for tuning in. Your time investment is valued. I do select topics related to our timeline and community. For those seeking upgrades or Reiki Levels. Stay tuned for our June packages. It’s for self employed/Practitioners/Coaches…
Review & Topics:
* Reiki Is Japanese Energy Healing used Globally.
* Yoga is over 5k years old from India. It hosts many styles, teacher versions, and it’s Mainstream now vs decades ago.
* Anything of the Holistic, Wellness Department can be fused together. My origins are Alternative, Complementary Medicine. In short, I call this ND. I am also a metaphysician. I learnt during the 90s New Age Era. I forget we just hit another wavy. It’s GenZ word of Mouth, their New Age Era. WHOA, History Repeats lol. We are fusing together.
* So, most of you have experienced your Spiritual Awakening. However; The journey wont be perfect. There will be some roller coaster events. The perks are: We are in a faster Spiritual Zone than the 90s. There’s more support and information available.
(See Presentation for all sections, THX AGAIN.)
2. What is Python?
● Python is a popular high-level programming language used in various
applications
○ Python is an easy language to learn because of its simple syntax
○ Python can be used for simple tasks such as plotting or for more complex tasks like
machine learning
3. Variables, Objects, and Classes
● A variable is a reference to a value stored in a computer’s memory.
● Variables can be sorted into a variety of categories (or data types) such
as numbers (int/float etc), Boolean values (true/false), and sequences
(strings, lists etc).
● An object is a collection of data from a computer’s memory that can be
manipulated.
○ ALL VARIABLES ARE OBJECTS although some objects can be defined by data
referred to by multiple variables.
○ Methods are the functions used to act on/alter an object’s data. They describe
what your object can “do.”
4. Variables, Objects, and Classes (cont.)
● A class is a collection of objects
who share the same set of
variables/methods.
○ The definition of the class provides a
blueprint for all the objects within it
(instances).
○ Instances may share the same
variables (color, size, shape, etc.), but
they do NOT share the same values
for each variable (blue/red/pink,
small/large, square/circular etc.)
Instance #1
Color: Pink
Name: Polo
Instance #2
Color: Red
Name: Mini
Instance #3
Color: Blue
Name: Beetle
5. Basic Syntax Rules
● The name of your variable (myInt etc.) is placed on the left of the “=“ operator.
○ Most variable names are in camel case where the first word begins with a lowercase letter and any subsequent words
are capitalized
○ Variable names may also appear in snake case where all words are lowercase, with underscores between words
● The assignment operator (“=“) sets the variable name equal to the memory location where your value is found.
● The value of your variable (“Hello, World”) is placed on the right of the “=“ operator.
○ The type of this value does NOT need to be stated but its format must abide by a given object type (as shown).
myString = “Hello, World” myInt = 7
myFloat = 7.0
myList = [7, 8, 9] myBoolean = true
6. Basic Syntax Rules
● Function Syntax
○ def...: indicates that you are defining a new function.
○ function() refers to the name of your function. By convention, this name is typically lowercase and represents a verb/action.
○ a,b refers to parameters (values or variables) that can be used within the statements of your function’s definition (......). If
your function has no parameters, an empty parenthetical () is used.
○ The return statement is an optional statement that will return a value for your function to your original call.
def function(a, b):
......
return a + b
7. Basic Syntax Rules (cont.)
● Calling a function
○ Call the function by referring to its name (function()) and by placing
any necessary arguments (1, 2) within the parenthesis separated by
commas. myValue = function(1, 2)
○ If you wish, you can set your function call equal to a variable (myValue). The value
returned by the function will be assigned to your variable name.
myValue = function(1, 2)
8. Common Data Types and Operators
● A data type is a means of classifying a value and determining what operations can
be performed on it. All objects have a data type.
● Operators are symbols used carry out specific functions/computations.
● https://www.youtube.com/watch?v=v5MR5JnKcZI
9. Input/Output
● Input functions (input()) allow users of a program to place values into
programming code.
○ The parameter for an input function is called a prompt. This is a
string (this can be indicated by “” or ‘’) such as “Enter a number: “
○ The user’s response to the prompt will be returned to the input
statement call as a string. To use this value as any other data type,
it must be converted with another function (int()).
● Print functions (print()) allow programs to output strings to users on a
given interface.
○ The parameter of this function is of any type. All types will
automatically be converted to strings.
xString = input(“Enter a number: “)
x = int(xString)
y=x+2
print(y)
10. If-else Statements
● If-else statements allow programmers to adapt the function of their
code based on a given condition.
● If a given condition (i.e. x % 2 == 0) is true, then the statements
following the if statement (if) will be executed. If the condition is false,
the statements following the else statement (else) will be executed.
○ The condition is tested using the Boolean operators == (is equal
to), != (is not equal to), and (used to test multiple conditions), and
or (used to test if AT LEAST ONE condition is true).
○ Additionally, else-if statements (elif) can be used to provide
unique coding statements for multiple conditions.
xString = input(“Enter a number: “)
x = int(xString)
if x % 2 == 0:
print(“This is an even number”)
elif x == 0:
print(“This number equals 0”)
else:
print(“This is an odd number”)
11. For Loops
● For loops perform the same task (iterate) for the number of
times specified by an iterable (something that can be evaluated
repeatedly such as a list, string, or range).
● for defines the for loop
● x is the variable defining the number of times the statements
within the loop (print(myInt)) are executed.
● The range(start, stop, step) function is often used to define x.
○ The starting value is defined by start, the final value is
defined by stop – 1, and the magnitude at which x
changes between loops is defined by step.
● in is a Boolean operator that returns true if the given value (x) is
found within a given list, string, range etc.
myString = input(“Enter a number: “)
myInt = int(myString)
for x in range(0, 5, 1): print(myInt)
12. While Loops
● While loops are statements that iterate so long as a given
Boolean condition is met.
○ x (the variable determining whether or not the
condition is met) is defined and manipulated
OUTSIDE of the header of the while loop (while)
○ The condition (x < 5) is a statement containing a
Boolean variable.
○ break is a statement used to exit the current
for/while loop.
○ continue is a statement used to reject all
statements in the current for/while loop iteration
and return to the beginning of the loop.
myString = input(“Enter a number: “)
myInt = int(myString)
x = 0
while x < 5:
print(myInt)
x= x +1