From cee8a0c5a89d6ef1df49fe5153fa8edc03a1e4ed Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 28 Nov 2019 22:07:01 +0200 Subject: [PATCH] day 10 --- readme.md | 20 ++++++++------ readme10-12.md | 1 + readme4-6.md | 75 +++++++++++++++++++++++++------------------------- readme7-9.md | 4 ++- 4 files changed, 52 insertions(+), 48 deletions(-) diff --git a/readme.md b/readme.md index df3ca42..e249cf0 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ -[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](#)| [Part 5](#) +[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)| [Part 5](#) +*** ![30DaysOfPython](./images/30DaysOfPython_banner3@2x.png) - [Day 1](#day-1) @@ -28,15 +29,16 @@ - [Day 2](#day-2) - [Built in functions](#built-in-functions) - [Variables](#variables) - - [Data Types](#data-types) +- [Printing the values stored in the variables](#printing-the-values-stored-in-the-variables) - [Checking Data types and Casting](#checking-data-types-and-casting) - - [Number](#number-1) - - [Exercises - Day 2](#exercises---day-2) -- [Day 3](#day-3) - - [Boolean](#boolean) - - [Operators:](#operators) - - [Assignment Operators:](#assignment-operators) - - [Arithmetic Operators:](#arithmetic-operators) +- [Different python data types](#different-python-data-types) +- [Let's declare different data types](#lets-declare-different-data-types) +- [Printing out types](#printing-out-types) +- [int to float](#int-to-float) +- [float to int](#float-to-int) +- [int to str](#int-to-str) +- [str to int](#str-to-int) +- [str to list](#str-to-list) - [Comparison Operators](#comparison-operators) - [Logical Operators](#logical-operators) - [Exercises - Day 3](#exercises---day-3) diff --git a/readme10-12.md b/readme10-12.md index 62abc02..f816b2d 100644 --- a/readme10-12.md +++ b/readme10-12.md @@ -1,4 +1,5 @@ [Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)| [Part 5](#) +*** ![30DaysOfPython](./images/30DaysOfPython_banner3@2x.png) diff --git a/readme4-6.md b/readme4-6.md index c258763..131b9e3 100644 --- a/readme4-6.md +++ b/readme4-6.md @@ -1,4 +1,4 @@ -[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](#)| [Part 5](#) +[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)| [Part 5](#) *** ![30DaysOfPython](./images/30DaysOfPython_banner3@2x.png) @@ -14,43 +14,42 @@ - [Python strings as sequences of characters](#python-strings-as-sequences-of-characters) - [Unpacking characters](#unpacking-characters) - [Accessing characters in strings by index](#accessing-characters-in-strings-by-index) - - [Slicing Python Strings](#slicing-python-strings) - - [Reversing a string](#reversing-a-string) - - [Skipping characters while slicing](#skipping-characters-while-slicing) - - [String Methods](#string-methods) - - [Exercises - Day 4](#exercises---day-4) -- [Day 5](#day-5) - - [Lists](#lists) - - [How to create a list](#how-to-create-a-list) - - [Accessing list items using positive indexing](#accessing-list-items-using-positive-indexing) - - [Accessing list items using negative indexing](#accessing-list-items-using-negative-indexing) - - [Unpacking list items](#unpacking-list-items) - - [Slicing items from list](#slicing-items-from-list) - - [Modifying list](#modifying-list) - - [Check items in a list](#check-items-in-a-list) - - [Adding item in a list](#adding-item-in-a-list) - - [Inserting item in to a list](#inserting-item-in-to-a-list) - - [Removing item from list](#removing-item-from-list) - - [Removing item using pop](#removing-item-using-pop) - - [Removing item using del](#removing-item-using-del) - - [Clearing list items](#clearing-list-items) - - [Copying a list](#copying-a-list) - - [Joining lists](#joining-lists) - - [Counting Items in a list](#counting-items-in-a-list) - - [Finding index of an item](#finding-index-of-an-item) - - [Reversing a list](#reversing-a-list) - - [Sorting list items](#sorting-list-items) - - [Exercises: Day 5](#exercises-day-5) -- [Day 6:](#day-6) - - [Tuple](#tuple) - - [Creating Tuple](#creating-tuple) - - [Tuple length](#tuple-length) - - [Accessing tuple items](#accessing-tuple-items) - - [Slicing tuples](#slicing-tuples) - - [Changing tuples to list](#changing-tuples-to-list) - - [Checking an item in a list](#checking-an-item-in-a-list) - - [Joining tuples](#joining-tuples) - - [Deleting tuple](#deleting-tuple) +- [Another way](#another-way) +- [syntax](#syntax) +- [syntax](#syntax-1) +- [Print the lists and it length](#print-the-lists-and-it-length) +- [Last index](#last-index) +- [First Example](#first-example) +- [Second Example about unpacking list](#second-example-about-unpacking-list) +- [Third Example about unpacking list](#third-example-about-unpacking-list) +- [this is also give the same result as the above](#this-is-also-give-the-same-result-as-the-above) +- [this is also give the same result as the above](#this-is-also-give-the-same-result-as-the-above-1) +- [syntax](#syntax-2) +- [syntax](#syntax-3) +- [syntax](#syntax-4) +- [syntax](#syntax-5) +- [syntax](#syntax-6) +- [syntax](#syntax-7) +- [syntax](#syntax-8) +- [syntax](#syntax-9) +- [output](#output) +- [syntax](#syntax-10) +- [syntax](#syntax-11) +- [syntax](#syntax-12) +- [syntax](#syntax-13) +- [syntax](#syntax-14) +- [syntax](#syntax-15) +- [or using the tuple constructor](#or-using-the-tuple-constructor) +- [syntax](#syntax-16) +- [syntax](#syntax-17) +- [Syntax](#syntax) +- [Syntax](#syntax-1) +- [Syntax](#syntax-2) +- [Syntax](#syntax-3) +- [Syntax](#syntax-4) +- [Syntax](#syntax-5) +- [syntax](#syntax-18) +- [syntax](#syntax-19) - [Exercises: Day 6](#exercises-day-6) # Day 4 ## String diff --git a/readme7-9.md b/readme7-9.md index ddf9674..c3abf98 100644 --- a/readme7-9.md +++ b/readme7-9.md @@ -1,4 +1,6 @@ -[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](#)| [Part 5](#) +[Part 1](https://github.com/Asabeneh/30-Days-Of-Python) | [Part 2](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme4-6.md)| [Part 3](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme7-9.md)| [Part 4](https://github.com/Asabeneh/30-Days-Of-Python/blob/master/readme10-12.md)| [Part 5](#) +*** + ![30DaysOfPython](./images/30DaysOfPython_banner3@2x.png) - [Day 7](#day-7) - [Set](#set)