this document consists of the introduction to python, how to install and run it, arithmetic operations, values and types (dictionaries, lists, tuples, strings, numbers, etc.) and the formal language and natural language
WHAT IS DICTIONARY IN PYTHON?
HOW TO CREATE A DICTIONARY
INITIALIZE THE DICTIONARY
ACCESSING KEYS AND VALUES FROM A DICTIONARY
LOOPS TO DISPLAY KEYS AND VALUES IN A DICTIONARY
METHODS IN A DICTIONARY
TO WATCH VIDEO OR PDF:
https://computerassignmentsforu.blogspot.com/p/dictinpyxii.html
Building Single-Page Web Appplications in dart - Devoxx France 2013yohanbeschi
Yohan Beschi presented on building single-page web applications using the Dart programming language. Dart aims to improve programmer productivity and application scalability compared to other options like JavaScript and Java with Google Web Toolkit (GWT). It provides an abstract class structure, generics, and other features to build user interfaces more concisely. Dart code compiles to JavaScript to run in browsers. The Dart ecosystem includes virtual machines, the Dartium browser, the Dart editor, and pub package manager.
A dictionary in Python is an unordered collection of key-value pairs where keys must be unique and immutable. It allows storing and accessing data values using keys. Keys can be of any immutable data type while values can be of any data type. Dictionaries can be created using curly braces {} or the dict() constructor and elements can be added, accessed, updated, or removed using keys. Common dictionary methods include copy(), clear(), pop(), get(), keys(), items(), and update().
Dynamic languages, for software craftmanship groupReuven Lerner
Reuven Lerner's talk about dynamic programming languages in general, and about Ruby in particular. Why would you want to use a dynamic language? What can you do with one that isn't possible (or easy) with a static language?
This document discusses Python dictionaries. Some key points:
- Dictionaries are mutable containers that store key-value pairs, with keys being unique within the dictionary. They are also known as associative arrays or hash tables.
- Syntax uses curly braces {} to enclose key-value pairs separated by colons, with each pair separated by commas. An empty dictionary is written as {}.
- Keys must be immutable like strings or numbers, values can be any object. Duplicate keys are not allowed, with the last assignment winning.
- Common dictionary methods include dict.items(), dict.values(), dict.keys() to access contents, and updating/deleting elements.
These are the slides of the second part of this multi-part series, from Learn Python Den Haag meetup group. It covers List comprehensions, Dictionary comprehensions and functions.
This document provides information about dictionaries in Python. It defines dictionaries as mutable containers that store key-value pairs, with keys being unique and values being of any type. It describes dictionary syntax and how to access, update, delete and add elements. It notes that dictionary keys must be immutable like strings or numbers, while values can be any type. Properties of dictionary keys like no duplicate keys and keys requiring immutability are also summarized.
This document provides an introduction to the Python programming language. It discusses Python versions and development environments. It also covers Python data types like lists, strings, tuples and dictionaries. Control flow structures like if/else statements and for loops are explained. Methods for common string and list operations are demonstrated through examples.
This document provides an overview of the Python programming language. It begins with an introduction to running Python code and output. It then covers Python's basic data types like integers, floats, strings, lists, tuples and dictionaries. The document explains input and file I/O in Python as well as common control structures like if/else statements, while loops and for loops. It also discusses functions as first-class objects in Python that can be defined and passed as parameters. The document provides examples of higher-order functions like map, filter and reduce. Finally, it notes that functions can be defined inside other functions in Python.
The document provides an overview of Python lists:
- Lists allow you to store sets of information in a particular order and are one of Python's most powerful features.
- You can define lists using square brackets and commas, and use plural names for lists to make code more readable. Lists can contain millions of items.
- Lists allow adding, inserting, removing, sorting, and accessing elements by their position or value using various list methods like append(), insert(), remove(), sort(), and indexing.
- Loops like for loops efficiently iterate through lists to work with each element.
The document discusses various Python datatypes. It explains that Python supports built-in and user-defined datatypes. The main built-in datatypes are None, numeric, sequence, set and mapping types. Numeric types include int, float and complex. Common sequence types are str, bytes, list, tuple and range. Sets can be created using set and frozenset datatypes. Mapping types represent a group of key-value pairs like dictionaries.
This document provides an overview of first-order logic and languages. It discusses how objects, names, predicates, functions, and equality can be represented. Examples of representing relational databases, numbers, geometry, sets, and graphs as first-order languages are also given. Various concepts are defined, such as terms, atomic sentences, and functions. Applications to fields like databases, geometry, and sets are demonstrated through sample expressions in those domains.
Greach 2015 AST – Groovy Transformers: More than meets the eye!Iván López Martín
Slides for my Greach 2015 talk: http://greachconf.com/speakers/ivan-lopez-ast-groovy-transformers-more-than-meets-the-eye/
The source code is: https://github.com/lmivan/greach2015
Groovy is a great language with extremely powerful capabilities about compile time meta-programming. Do you know that provides more than 40 AST transformations out-of-the box just to make your life as a developer easier?
In this talk you will learn the most important transformations provided by Groovy. I’ll use a lot of code examples to explain all the concepts.
Groovy is a great language with extremely powerful capabilities about compile time meta-programming. Do you know that provides more than 40 AST transformations out-of-the box just to make your life as a developer easier?
In this talk you will learn the most important transformations provided by Groovy. I'll use a lot of code examples to explain all the concepts.
Python is an open source, highly interactive, object oriented, interpreted, easy programming language powered by Python Software Foundation PSF. It can be easily integrated to various IT fields such as web application programming, automation scripting, data science, machine learning, mathematical computing
A Python dictionary is an unordered collection of key-value pairs where keys must be unique and immutable. It allows fast lookup of values using keys. Dictionaries can be created using curly braces and keys are used to access values using indexing or the get() method. Dictionaries are mutable and support various methods like clear(), copy(), pop(), update() etc to modify or retrieve data.
This presentation is all about various built in
datastructures which we have in python.
List
Dictionary
Tuple
Set
and various methods present in each data structure
The Ring programming language version 1.10 book - Part 7 of 212Mahmoud Samir Fayed
The document summarizes the key features and capabilities of the Ring programming language. Some of the main features included are:
- Support for procedures, functions, recursion, object-oriented programming features like encapsulation and inheritance.
- First-class support for variables, lists, objects and functions. Lists and objects can be passed by reference.
- Built-in support for math, string, list, file processing and database functions.
- Ability to create graphical user interfaces, 2D games, embed the language in C/C++, and develop web applications.
- Support for packages, modules, reflection, exception handling and debugging tools.
- Aimed to have a simple and natural
This document provides an overview of the Python programming language. It discusses what Python is, its key features like being multi-purpose, readable, and productive. It then demonstrates Hello World programs in Python, C++, Java, and PHP. The rest of the document covers Python concepts like operators, variables, strings, lists, conditions, loops, functions, object oriented programming, and design patterns like strategy, closure, generator, and decorator patterns.
The document discusses mutable dictionaries in F#. It describes how to create a dictionary, add/remove items from a dictionary, retrieve items from a dictionary, and handle exceptions when accessing non-existent items. It provides examples of creating a dictionary of students by name and accessing dictionary properties like count and keys. It also shows methods for adding, removing, and checking for keys/values and provides an example of a dictionary storing atomic elements by name and weight.
Madrid gug - sacando partido a las transformaciones ast de groovyIván López Martín
Groovy es un gran lenguaje con capacidades muy potentes de metaprogramación en tiempo de compilación. ¿Sabías que hay más de 40 transformaciones AST disponibles para hacernos la vida más fácil como desarrolladores?
En esta charla aprenderás las transformaciones más importantes que proporciona Groovy a través de muchos ejemplos para explicar todos los conceptos.
The Ring programming language version 1.5.3 book - Part 6 of 184Mahmoud Samir Fayed
- Ring is a simple, dynamically typed scripting language designed for productivity. It aims to have clear program structure and encourage organization.
- Key features include object-oriented support, reflection, exception handling, math/string/file functions, and embedding capabilities. It can be used to create applications, games, and declarative domain-specific languages.
- The language focuses on transparency - its implementation and each compiler stage can be clearly seen. It also aims to have natural, minimal syntax and encourage nesting and organization of code.
Presentation on using the Arrow library for enhanced Functional Programming in the Kotlin Language. Delivered at the Northern Ireland Developer Conference 2018.
The Ring programming language version 1.5.4 book - Part 6 of 185Mahmoud Samir Fayed
This document provides an overview of the Ring programming language. Key features include native object-oriented support with encapsulation, inheritance, polymorphism and composition. It also supports reflection, exception handling, runtime code evaluation, I/O, math functions, strings, lists, files, databases, security, internet, zip, and CGI functionality. The language aims to have clear structure, be compact, encourage organization, and support both procedural and object-oriented paradigms. It can be used to create applications, libraries, games and more.
This document provides an overview of the Python programming language. It begins with an introduction to running Python code and output. It then covers Python's basic data types like integers, floats, strings, lists, tuples and dictionaries. The document explains input and file I/O in Python as well as common control structures like if/else statements, while loops and for loops. It also discusses functions as first-class objects in Python that can be defined and passed as parameters. The document provides examples of higher-order functions like map, filter and reduce. Finally, it notes that functions can be defined inside other functions in Python.
The document provides an overview of Python lists:
- Lists allow you to store sets of information in a particular order and are one of Python's most powerful features.
- You can define lists using square brackets and commas, and use plural names for lists to make code more readable. Lists can contain millions of items.
- Lists allow adding, inserting, removing, sorting, and accessing elements by their position or value using various list methods like append(), insert(), remove(), sort(), and indexing.
- Loops like for loops efficiently iterate through lists to work with each element.
The document discusses various Python datatypes. It explains that Python supports built-in and user-defined datatypes. The main built-in datatypes are None, numeric, sequence, set and mapping types. Numeric types include int, float and complex. Common sequence types are str, bytes, list, tuple and range. Sets can be created using set and frozenset datatypes. Mapping types represent a group of key-value pairs like dictionaries.
This document provides an overview of first-order logic and languages. It discusses how objects, names, predicates, functions, and equality can be represented. Examples of representing relational databases, numbers, geometry, sets, and graphs as first-order languages are also given. Various concepts are defined, such as terms, atomic sentences, and functions. Applications to fields like databases, geometry, and sets are demonstrated through sample expressions in those domains.
Greach 2015 AST – Groovy Transformers: More than meets the eye!Iván López Martín
Slides for my Greach 2015 talk: http://greachconf.com/speakers/ivan-lopez-ast-groovy-transformers-more-than-meets-the-eye/
The source code is: https://github.com/lmivan/greach2015
Groovy is a great language with extremely powerful capabilities about compile time meta-programming. Do you know that provides more than 40 AST transformations out-of-the box just to make your life as a developer easier?
In this talk you will learn the most important transformations provided by Groovy. I’ll use a lot of code examples to explain all the concepts.
Groovy is a great language with extremely powerful capabilities about compile time meta-programming. Do you know that provides more than 40 AST transformations out-of-the box just to make your life as a developer easier?
In this talk you will learn the most important transformations provided by Groovy. I'll use a lot of code examples to explain all the concepts.
Python is an open source, highly interactive, object oriented, interpreted, easy programming language powered by Python Software Foundation PSF. It can be easily integrated to various IT fields such as web application programming, automation scripting, data science, machine learning, mathematical computing
A Python dictionary is an unordered collection of key-value pairs where keys must be unique and immutable. It allows fast lookup of values using keys. Dictionaries can be created using curly braces and keys are used to access values using indexing or the get() method. Dictionaries are mutable and support various methods like clear(), copy(), pop(), update() etc to modify or retrieve data.
This presentation is all about various built in
datastructures which we have in python.
List
Dictionary
Tuple
Set
and various methods present in each data structure
The Ring programming language version 1.10 book - Part 7 of 212Mahmoud Samir Fayed
The document summarizes the key features and capabilities of the Ring programming language. Some of the main features included are:
- Support for procedures, functions, recursion, object-oriented programming features like encapsulation and inheritance.
- First-class support for variables, lists, objects and functions. Lists and objects can be passed by reference.
- Built-in support for math, string, list, file processing and database functions.
- Ability to create graphical user interfaces, 2D games, embed the language in C/C++, and develop web applications.
- Support for packages, modules, reflection, exception handling and debugging tools.
- Aimed to have a simple and natural
This document provides an overview of the Python programming language. It discusses what Python is, its key features like being multi-purpose, readable, and productive. It then demonstrates Hello World programs in Python, C++, Java, and PHP. The rest of the document covers Python concepts like operators, variables, strings, lists, conditions, loops, functions, object oriented programming, and design patterns like strategy, closure, generator, and decorator patterns.
The document discusses mutable dictionaries in F#. It describes how to create a dictionary, add/remove items from a dictionary, retrieve items from a dictionary, and handle exceptions when accessing non-existent items. It provides examples of creating a dictionary of students by name and accessing dictionary properties like count and keys. It also shows methods for adding, removing, and checking for keys/values and provides an example of a dictionary storing atomic elements by name and weight.
Madrid gug - sacando partido a las transformaciones ast de groovyIván López Martín
Groovy es un gran lenguaje con capacidades muy potentes de metaprogramación en tiempo de compilación. ¿Sabías que hay más de 40 transformaciones AST disponibles para hacernos la vida más fácil como desarrolladores?
En esta charla aprenderás las transformaciones más importantes que proporciona Groovy a través de muchos ejemplos para explicar todos los conceptos.
The Ring programming language version 1.5.3 book - Part 6 of 184Mahmoud Samir Fayed
- Ring is a simple, dynamically typed scripting language designed for productivity. It aims to have clear program structure and encourage organization.
- Key features include object-oriented support, reflection, exception handling, math/string/file functions, and embedding capabilities. It can be used to create applications, games, and declarative domain-specific languages.
- The language focuses on transparency - its implementation and each compiler stage can be clearly seen. It also aims to have natural, minimal syntax and encourage nesting and organization of code.
Presentation on using the Arrow library for enhanced Functional Programming in the Kotlin Language. Delivered at the Northern Ireland Developer Conference 2018.
The Ring programming language version 1.5.4 book - Part 6 of 185Mahmoud Samir Fayed
This document provides an overview of the Ring programming language. Key features include native object-oriented support with encapsulation, inheritance, polymorphism and composition. It also supports reflection, exception handling, runtime code evaluation, I/O, math functions, strings, lists, files, databases, security, internet, zip, and CGI functionality. The language aims to have clear structure, be compact, encourage organization, and support both procedural and object-oriented paradigms. It can be used to create applications, libraries, games and more.
The document discusses Python dictionaries. Some key points:
- A dictionary in Python is an unordered collection of key-value pairs where keys must be unique and immutable, while values can be any data type.
- Dictionaries are created using curly braces {} and keys are separated from values with colons.
- Elements can be accessed, added, updated, and deleted using keys. Nested dictionaries are also supported.
- Common operations include creating, accessing, modifying dictionaries as well as nested dictionaries. User input can also be used to update dictionary values.
The document provides an introduction to dictionaries in Python. It defines dictionaries as a data structure that maps keys to values, similar to a real-world dictionary. It describes that dictionaries use curly brackets, with keys and values separated by colons and elements separated by commas. Keys must be immutable types like strings or numbers, while values can be any type, including lists. The document also explains how to access and print values, update and add new key-value pairs, delete elements, clear the entire dictionary, and delete the dictionary entirely.
The document discusses arrays in Python. It begins by defining sets and dictionaries. For sets, it explains that they are unordered collections that use curly brackets. It provides examples of creating sets and checking if an item is in a set. It also discusses adding, updating, removing and joining sets. For dictionaries, it defines them as unordered collections that use curly brackets and have keys and values. It provides examples of accessing items, changing values, and looping through a dictionary. It also covers checking for items, adding/removing items, copying dictionaries, and nested dictionaries. Finally, it lists common dictionary methods.
This document provides a summary of the main data types in Python including text, numeric, sequence, mapping, set, boolean, and binary types. It discusses the main characteristics of integers, floats, complexes, strings, lists, tuples, dictionaries, and sets. It covers how to define, access, modify, loop through and add/remove items for each data type. The key details covered include slicing strings, converting between types, appending/inserting/removing list items, immutable tuples, unordered sets and indexed dictionaries.
Dictionaries in Python are used to store data in key-value pairs. They are unordered, changeable and do not allow duplicates. A dictionary can be created using curly braces {} and contains keys and their corresponding values separated by colon. Sets are another data type that can store multiple elements but do not allow duplicates. Sets are created using curly braces and support operations like union, intersection etc. Both dictionaries and sets support various methods to add, remove and manipulate elements.
METHODS DESCRIPTION
copy() They copy() method returns a shallow copy of the dictionary.
clear() The clear() method removes all items from the dictionary.
pop() Removes and returns an element from a dictionary having the given key.
popitem() Removes the arbitrary key-value pair from the dictionary and returns it as tuple.
get() It is a conventional method to access a value for a key.
dictionary_name.values() returns a list of all the values available in a given dictionary.
str() Produces a printable string representation of a dictionary.
update() Adds dictionary dict2’s key-values pairs to dict
setdefault() Set dict[key]=default if key is not already in dict
keys() Returns list of dictionary dict’s keys
items() Returns a list of dict’s (key, value) tuple pairs
has_key() Returns true if key in dictionary dict, false otherwise
fromkeys() Create a new dictionary with keys from seq and values set to value.
type() Returns the type of the passed variable.
cmp() Compares elements of both dict.
This document discusses various Python data structures including lists, tuples, dictionaries, and sets. It provides examples of how to create, access, update, and delete elements in each data structure. For lists, examples demonstrate how to create and modify lists, access elements, and use common list methods. Tuples are explained as immutable lists that cannot be modified. Dictionaries are described as storing elements through key-value pairs. Sets are defined as unordered collections of unique elements.
fundamental of python --- vivek singh shekawatshekhawatasshp
# Fundamentals of Python: A Comprehensive Guide
Python is a versatile and powerful programming language that has gained immense popularity in recent years. Known for its simplicity and readability, Python is an ideal choice for beginners and experienced programmers alike. This comprehensive guide covers the fundamentals of Python, providing a solid foundation for anyone looking to learn this dynamic language.
## Introduction to Python
### What is Python?
Python is a high-level, interpreted programming language designed by Guido van Rossum and first released in 1991. Its design philosophy emphasizes code readability and simplicity, making it an excellent language for beginners. Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming.
### Why Learn Python?
Python's popularity stems from its versatility and ease of use. Here are some key reasons to learn Python:
- **Simplicity**: Python's syntax is straightforward and easy to learn, making it accessible to beginners.
- **Versatility**: Python can be used for web development, data analysis, artificial intelligence, machine learning, automation, and more.
- **Community Support**: Python has a large and active community, providing a wealth of resources, libraries, and frameworks.
- **Job Market**: Python skills are in high demand, making it a valuable language to learn for career opportunities.
## Setting Up Python
### Installation
To start coding in Python, you need to install it on your computer. Python is available for various operating systems, including Windows, macOS, and Linux. Follow these steps to install Python:
1. **Download Python**: Visit the official Python website (https://www.python.org) and download the latest version of Python for your operating system.
2. **Run the Installer**: Follow the installation instructions specific to your operating system. Ensure you select the option to add Python to your system PATH during installation.
3. **Verify Installation**: Open a command prompt or terminal and type `python --version` to verify the installation. You should see the installed Python version displayed.
### Integrated Development Environment (IDE)
An Integrated Development Environment (IDE) enhances your coding experience by providing tools and features to write, debug, and manage code efficiently. Some popular Python IDEs include:
- **PyCharm**: A powerful IDE specifically for Python, offering advanced features for professional developers.
- **Visual Studio Code**: A lightweight, versatile code editor with excellent Python support through extensions.
- **Jupyter Notebook**: An interactive web-based environment, ideal for data analysis and visualization.
## Basic Syntax and Data Types
### Hello, World!
The traditional first program in any language is the "Hello, World!" program. In Python, this is straightforward:
```python
print("Hello, World!")
```
Lists, tuples, and dictionaries are common data structures in Python. Lists are mutable sequences that are defined using square brackets. Tuples are immutable sequences defined using parentheses. Dictionaries store key-value pairs within curly braces, with unique keys. These data structures support operations like indexing, slicing, length checking, membership testing, and iteration.
The document is a presentation on Internet of Things (IoT) given by Dr. Vikram Neerugatti. The presentation defines IoT, discusses why it is needed, and how it can be implemented. It also covers how IoT enables technologies like machine learning, deep learning, artificial intelligence and data science. Examples of IoT applications are provided. The presentation discusses opportunities for IoT product development and lists online and offline tools for working with IoT. It concludes by identifying open research gaps in IoT and inviting questions.
Linux commands working with file contents:
head, tail, cat, tac, more, less and strings, more file
attributes: hard links, symbolic links, fins, umask
and inodes The Linux file tree: the root directory, binary
directories, configuration directories, data
directories, Commands and arguments: $PATH,
echo, ls, env
The document outlines a lecture on Linux internals given by Dr. Vikram Neerugatti. It covers the history of Linux, popular distributions like Red Hat, Ubuntu and Debian. It also discusses licensing models and provides an overview of common Linux commands for managing directories, files and general utilities. The lecture aims to introduce students to key concepts in Linux including its development history, distributions, licensing and basic commands.
Discussed about
An overview – Object basics – Object state and properties – Behavior – Methods – Messages –
Information hiding – Class hierarchy – Relationships – Associations – Aggregations- Identity –
Dynamic binding – Persistence – Metaclasses – Object oriented system development life cycle.
The document discusses the Internet of Things (IoT) and some of the ethical issues surrounding it. It characterizes the IoT as physical objects that have sensors, controllers and an internet connection. It then discusses some of the negative perspectives like IoT destroying jobs and being too intrusive, as well as positive perspectives like IoT saving lives and making people happier. The document also covers issues like privacy, control of devices, environmental impact and some potential solutions that need to be considered like accessibility, privacy preservation and transparency.
This document discusses producing kits and printed circuit boards. It explains that when producing kits, one can create a prototype product, a kit for customers to assemble themselves, or a fully assembled product ready for store shelves. When designing printed circuit boards, the document outlines using software like Altium Designer, Fritzing, KiCad, EAGLE, and Design Spark PCB to create the board schematic and Gerber files. It also asks if there are any questions.
Discussed about:
A Short History of Business Models
The Business Model Canvas
Who is the Business Model for
Models
Funding an IoT Start-up
Lean Start-ups
The document discusses a lecture on artificial neural networks given by Dr. Vikram Neerugatti at Jain (Deemed to be University) Global Campus. The topics covered in the lecture include basic concepts in neural networks such as neurons, synapses and learning; applications of neural networks in areas like computer vision, healthcare and agriculture; feed forward networks including single layer and multi-layer network architecture; and training issues with feed forward networks.
This document summarizes a lecture on design principles for connected devices. It discusses concepts like calm and ambient technology, privacy concerns for internet-connected devices, and applying web technologies. The lecture covers Mark Weiser's ideas of ubiquitous computing and ambient interfaces that don't require direct human interaction. It also discusses designing devices with clear affordances so users intuitively understand how to operate the technologies.
Discussed about the following topics: A Web Security Forensic Lesson
Web Languages
Introduction to different web attacks
overview of n-tier web applications
Web servers
Apache
IIS
Database Servers
The document discusses cloud computing and related topics across four sections. Section 1 introduces cloud computing, including its roots, layers, types of clouds, desired features, infrastructure providers, and challenges. Section 2 discusses migrating systems into the cloud, including broad approaches and a seven step model. Section 3 discusses enriching integration as a service for the cloud era, including new integration scenarios, methodologies, and products. Section 4 discusses the enterprise cloud computing paradigm, including issues for enterprise applications in the cloud, technology/market evolution, and the cloud supply chain.
The document discusses Cascading Style Sheets (CSS), describing how it is used to style HTML documents by controlling layout and formatting. CSS allows styles to be applied to multiple web pages at once. There are three types of CSS: external, internal, and inline. External CSS places style rules in a separate .css file and attaches it to HTML pages, internal CSS embeds style rules directly in an HTML page, and inline CSS applies styles directly to HTML elements.
How to Manage Maintenance Request in Odoo 18Celine George
Efficient maintenance management is crucial for keeping equipment and work centers running smoothly in any business. Odoo 18 provides a Maintenance module that helps track, schedule, and manage maintenance requests efficiently.
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecdrazelitouali
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
This presentation has been made keeping in mind the students of undergraduate and postgraduate level. To keep the facts in a natural form and to display the material in more detail, the help of various books, websites and online medium has been taken. Whatever medium the material or facts have been taken from, an attempt has been made by the presenter to give their reference at the end.
In the seventh century, the rule of Sindh state was in the hands of Rai dynasty. We know the names of five kings of this dynasty- Rai Divji, Rai Singhras, Rai Sahasi, Rai Sihras II and Rai Sahasi II. During the time of Rai Sihras II, Nimruz of Persia attacked Sindh and killed him. After the return of the Persians, Rai Sahasi II became the king. After killing him, one of his Brahmin ministers named Chach took over the throne. He married the widow of Rai Sahasi and became the ruler of entire Sindh by suppressing the rebellions of the governors.
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...EduSkills OECD
Deborah Nusche, Senior Analyst, OECD presents at the OECD webinar 'Trends Spotting: Strategic foresight for tomorrow’s education systems' on 5 June 2025. You can check out the webinar on the website https://oecdedutoday.com/webinars/ Other speakers included: Deborah Nusche, Senior Analyst, OECD
Sophie Howe, Future Governance Adviser at the School of International Futures, first Future Generations Commissioner for Wales (2016-2023)
Davina Marie, Interdisciplinary Lead, Queens College London
Thomas Jørgensen, Director for Policy Coordination and Foresight at European University Association
Artificial intelligence Presented by JM.jmansha170
AI (Artificial Intelligence) :
"AI is the ability of machines to mimic human intelligence, such as learning, decision-making, and problem-solving."
Important Points about AI:
1. Learning – AI can learn from data (Machine Learning).
2. Automation – It helps automate repetitive tasks.
3. Decision Making – AI can analyze and make decisions faster than humans.
4. Natural Language Processing (NLP) – AI can understand and generate human language.
5. Vision & Recognition – AI can recognize images, faces, and patterns.
6. Used In – Healthcare, finance, robotics, education, and more.
Owner By:
Name : Junaid Mansha
Work : Web Developer and Graphics Designer
Contact us : +92 322 2291672
Email : [email protected]
RE-LIVE THE EUPHORIA!!!!
The Quiz club of PSGCAS brings to you a fun-filled breezy general quiz set from numismatics to sports to pop culture.
Re-live the Euphoria!!!
QM: Eiraiezhil R K,
BA Economics (2022-25),
The Quiz club of PSGCAS
Analysis of Quantitative Data Parametric and non-parametric tests.pptxShrutidhara2
This presentation covers the following points--
Parametric Tests
• Testing the Significance of the Difference between Means
• Analysis of Variance (ANOVA) - One way and Two way
• Analysis of Co-variance (One-way)
Non-Parametric Tests:
• Chi-Square test
• Sign test
• Median test
• Sum of Rank test
• Mann-Whitney U-test
Moreover, it includes a comparison of parametric and non-parametric tests, a comparison of one-way ANOVA, two-way ANOVA, and one-way ANCOVA.
How to Create a Rainbow Man Effect in Odoo 18Celine George
In Odoo 18, the Rainbow Man animation adds a playful and motivating touch to task completion. This cheerful effect appears after specific user actions, like marking a CRM opportunity as won. It’s designed to enhance user experience by making routine tasks more engaging.
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 Manage Upselling of Subscriptions in Odoo 18Celine George
Subscriptions in Odoo 18 are designed to auto-renew indefinitely, ensuring continuous service for customers. However, businesses often need flexibility to adjust pricing or quantities based on evolving customer needs.
HOW YOU DOIN'?
Cool, cool, cool...
Because that's what she said after THE QUIZ CLUB OF PSGCAS' TV SHOW quiz.
Grab your popcorn and be seated.
QM: THARUN S A
BCom Accounting and Finance (2023-26)
THE QUIZ CLUB OF PSGCAS.
Strengthened Senior High School - Landas Tool Kit.pptxSteffMusniQuiballo
Landas Tool Kit is a very helpful guide in guiding the Senior High School students on their SHS academic journey. It will pave the way on what curriculum exits will they choose and fit in.
How to Configure Vendor Management in Lunch App of Odoo 18Celine George
The Vendor management in the Lunch app of Odoo 18 is the central hub for managing all aspects of the restaurants or caterers that provide food for your employees.
2. content
• Introduction to python
• Installation of Python in windows
• Running Python
• Arithmetic operators
• Values and types
• Formal and Natural languages
3. Introduction to Python
• Dynamic interoperated language that allows both functional and object oriented programming languages
• Interpreter
• Python is a language
• Simple
• On all platforms
• Real programming language
• High level problems
• Can split into modules
• GUI can be done
• It is a interpreter language
• Very short compare with other languages
• Indents will be used instead of brackets
• After the bbc shows monty python cant do anything on reptiles
7. Running a python
• Start
• Select python
• In the prompt type the statement
Print (“hello world”)
8. Arithmetic operations
• In the prompt of the python type
• 3+4
• 3-4
• ¾
• 3%4
• 3*4
• Type with variables also
• A=3
• B=5, etc.
9. Values and types
• Python numbers
• Integer
• 2,4,5
• Float
• 2.3,4.5,7.8
• Complex
• 3+5J
• Python lists
• can be any
• [3, 4, 5, 6, 7, 9]
• ['m', 4, 4, 'nani']
• Slicing operator, list index starts from zero
• A[4],a[:2],a[1:2]
• mutable
• Python tuples ()
• Cannot change, slicing can be done a[4].
• immutable
10. Values and types
• Python Strings
• Sequence of Characters
• Single line
• Ex. s='zaaaa nani'
• Multi line
• Ex. s='''zaaaa nani
• print(s)
• nani'''
• print (s)
• Sliicing can be done
• Ex. S[5]
11. Values and types
• Python sets
• Collection of unordered elements, elements will not be in order
• S={3,4,5.6,’g’,8}
• Can do intersection (&), union(|), difference (-), ^ etc.
• Ex. A&b, a|b, a-b, a^b’
• Remove duplicates
• {5,5,5,7,88,8,88}
• No slicing can be done, because elements are not in order.
• Python dictionaries
12. Python dictionaries
• Python dictionary is an unordered collection of items.
• While other compound data types have only value as an element, a
dictionary has a key: value pair.
• Dictionaries are optimized to retrieve values when the key is known.
• Creating a dictionary is as simple as placing items inside curly braces {}
separated by comma.
• An item has a key and the corresponding value expressed as a pair, key:
value.
• While values can be of any data type and can repeat, keys must be of
immutable type (string, number or tuple with immutable elements) and
must be unique.
13. Python dictionaries (creating)
1.# empty dictionary
2.my_dict = {}
4.# dictionary with integer keys
5.my_dict = {1: 'apple', 2: 'ball'}
7.# dictionary with mixed keys
8.my_dict = {'name': 'John', 1: [2, 4, 3]}
10.# using dict()
11.my_dict = dict({1:'apple', 2:'ball'})
13.# from sequence having each item as a pair
14.my_dict = dict([(1,'apple'), (2,'ball')])
14. Python dictionaries (accesing)
• my_dict = {'name':'Jack', 'age': 26}
• # Output: Jack
• print(my_dict['name’])
• # Output: 26
• print(my_dict.get('age’))
• # Trying to access keys which doesn't exist throws error#
my_dict.get('address’)
• # my_dict['address’]
• Key in square brackets/get(), if you use get(), instead of error , none will be
displayed.
15. Change/ add elements in a dictionaries
• my_dict = {'name':'Jack', 'age': 26}
• # update value
• my_dict['age'] = 27
• #Output: {'age': 27, 'name': 'Jack’}
• print(my_dict)
• # add item
• my_dict['address'] = 'Downtown’
• # Output: {'address': 'Downtown', 'age': 27, 'name': 'Jack'}print(my_dict)
• Mutable, if key is there: value will be updated, if not created new one.
16. How to remove or delete the item in
dictionaries
• We can remove a particular item in a dictionary by using the method
pop(). This method removes as item with the provided key and
returns the value.
• The method, popitem() can be used to remove and return an
arbitrary item (key, value) form the dictionary. All the items can be
removed at once using the clear() method.
• We can also use the del keyword to remove individual items or the
entire dictionary itself.
17. How to remove or delete the item in
dictionaries
• # create a dictionary squares = {1:1, 2:4, 3:9, 4:16, 5:25}
• # remove a particular item # Output: 16
• print(squares.pop(4)) # Output: {1: 1, 2: 4, 3: 9, 5: 25}print(squares)
• # remove an arbitrary item
• # Output: (1, 1) print(squares.popitem()) # Output: {2: 4, 3: 9, 5: 25} print(squares)
• # delete a particular item
• del squares[5] # Output: {2: 4, 3: 9}print(squares)
• # remove all items
• squares.clear()
• # Output: {}
• print(squares)
• # delete the dictionary itself
• del squares
• # Throws Error# print(squares)
20. Nested Dictionary
• In Python, a nested dictionary is a dictionary inside a dictionary.
• It's a collection of dictionaries into one single dictionary.
Example:
nested_dict = { 'dictA': {'key_1': 'value_1’},
'dictB': {'key_2': 'value_2'}}
• Here, the nested_dict is a nested dictionary with the dictionary dictA
and dictB.
• They are two dictionary each having own key and value.
26. Natural Language and Formal Language
• The languages used by the humans called as a natural languages
• Examples: English, French, Telugu,etc.
• The languages designed and developed by the humans to
communicate with the machines is called as the formal languages.
• Example: C, C++, Java, Python, etc.
27. Summary
• Introduction to python
• Installation of Python in windows
• Running Python
• Arithmetic operators
• Values and types
• Formal and Natural languages