Saturday, 25 April 2020

Data Type Conversion | Python | Castor Classes

The Python Workbook: A Brief Introduction with Exercises and Solutions Hardcover – 4 February 2015 by Ben Stephenson (Author)

While other textbooks devote their pages to explaining introductory programming concepts, The Python Workbook focuses exclusively on exercises, following the philosophy that computer programming is a skill best learned through experience and practice. Designed to support and encourage hands-on learning about programming, this student-friendly work contains 174 exercises, spanning a variety of academic disciplines and everyday situations. Solutions to selected exercises are also provided, supported by brief annotations that explain the technique used to solve the problem, or highlight specific points of Python syntax. No background knowledge is required to solve the exercises, beyond the material covered in a typical introductory Python programming course.

Undergraduate students undergoing their first programming course and wishing to enhance their programming abilities will find the exercises and solutions provided in this book to be ideal for their needs.
Buy: The Python Workbook: A Brief Introduction with Exercises and Solutions Hardcover – 4 February 2015 by Ben Stephenson (Author)

Power of a number | Python | Castor Classes



Friday, 24 April 2020

Number Data Type | Python | Castor Classes

Reverse Words in a String(Part 2) | GeeksForGeeks | Python | Castor Classes

Code: t=int(input()); ie=0; while (ie<t): a=input(); e=a.split("."); output=[]; for i in e: a=list(i); a.reverse(); es="".join(a); output.append(es); print(".".join(output)); ie=ie+1; Prerequisites: Reverse Words in a String III | LeetCode | Python | Castor Classes https://www.youtube.com/watch?v=m067u... Python for beginners: https://www.youtube.com/watch?v=egq7Z... Web 🌐http://www.clcoding.com/ Telegram: https://t.me/clcoding_python https://www.facebook.com/pirawenpython/ https://www.facebook.com/groups/piraw...

Reverse Words in a String III (Part 1) | LeetCode | Python | Castor Classes

Code:


class Solution:
    def reverseWords(self, s: str) -> str:
        e=s.split(" ");
        output=[];
        for i in e:
            a=list(i);
            a.reverse();
            es="".join(a);
            output.append(es);
        return " ".join(output);
Python for beginners: https://www.youtube.com/watch?v=egq7Z... Web 🌐http://www.clcoding.com/ Telegram: https://t.me/clcoding_python https://www.facebook.com/pirawenpython/ https://www.facebook.com/groups/piraw...

Replace all 0's with 5 | Python | Castor Classes

Code:

n=int(input("Enter the number:"));
s=str(n);
g="";
for i in s:
    if(i=='0'):
        g=g+'5';
    else:
        g=g+i;
t=int(g);
print(t)
       

Python for beginners: https://www.youtube.com/watch?v=egq7Z...

Convert a word to list of characters using list & Palindrome | Python | Castor Classes

Code:

class Solution:
    def isPalindrome(self, x: int) -> bool:
        e=str(x);
        a=list(e);
        a.reverse();
        w="".join(a);
        if(e==w):
            return True;
        else:
            return False;

Prerequisite: Single Number | Practice Problem on List | Python | Castor Classes: https://www.youtube.com/watch?v=mIQBl... Single Number II | Practice Problem on List | Python | Castor Classes https://www.youtube.com/watch?v=qnBML... Single Number III | LeetCode | Practice Problem on List | Python | Castor Classes https://www.youtube.com/watch?v=8JEUM... List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Iterate over a list & string | List in Python | Part 4 | Castor Classes https://www.youtube.com/watch?v=4Zrfk... Convert list to string | List in Python | Part 5 | Castor Classes https://www.youtube.com/watch?v=mLHOF... Python for beginners: https://www.youtube.com/watch?v=egq7Z...


Thursday, 23 April 2020

Single Number III | LeetCode | Practice Problem on List | Python | Castor Classes

Code is given in the comment section. Prerequisite: Single Number | Practice Problem on List | Python | Castor Classes: https://www.youtube.com/watch?v=mIQBl... Single Number II | Practice Problem on List | Python | Castor Classes https://www.youtube.com/watch?v=qnBML... List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Iterate over a list & string | List in Python | Part 4 | Castor Classes https://www.youtube.com/watch?v=4Zrfk... Convert list to string | List in Python | Part 5 | Castor Classes https://www.youtube.com/watch?v=mLHOF... Python for beginners: https://www.youtube.com/watch?v=egq7Z...


Single Number II | Practice Problem on List | Python | Castor Classes

Code is given in the comment section. Prerequisite: Single Number | Practice Problem on List | Python | Castor Classes: https://www.youtube.com/watch?v=mIQBl... List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Iterate over a list & string | List in Python | Part 4 | Castor Classes https://www.youtube.com/watch?v=4Zrfk... Convert list to string | List in Python | Part 5 | Castor Classes https://www.youtube.com/watch?v=mLHOF... Python for beginners: https://www.youtube.com/watch?v=egq7Z...

Single Number | Practice Problem on List | Python | Castor Classes

Code: n=[2,2,1]; m=0; for i in n: if(n.count(i)%2!=0): m=i; break; print(m) Prerequisite: List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Iterate over a list & string | List in Python | Part 4 | Castor Classes https://www.youtube.com/watch?v=4Zrfk... Convert list to string | List in Python | Part 5 | Castor Classes https://www.youtube.com/watch?v=mLHOF... Python for beginners: https://www.youtube.com/watch?v=egq7Z...

Convert list to string | List in Python | Part 5 | Castor Classes

In this video , I have discussed , how you can convert a list to a string Prerequisite: List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Iterate over a list & string | List in Python | Part 4 | Castor Classes https://www.youtube.com/watch?v=4Zrfk... Python for beginners: https://www.youtube.com/watch?v=egq7Z...

Iterate over a list & string | List in Python | Part 4 | Castor Classes

In this video , I have discussed , how you can traverse in a list and string & how to convert a string to a list using .split method. Prerequisite: List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... List in Python | Part 3 | Castor Classes https://www.youtube.com/watch?v=aUfow... Python for beginners: https://www.youtube.com/watch?v=egq7Z...


List in Python | Part 3 | Castor Classes

Prerequisite: List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... List in Python | Part 2 | Castor Classes: https://www.youtube.com/watch?v=vNxxQ... Python for beginners: https://www.youtube.com/watch?v=egq7Z...


List in Python | Part 2 | Castor Classes

Topics discussed in this video:
1)pop operation on list
2)del
3)clear
4)Joining two lists in python

Prerequisite: List in Python | Part 1 | Castor Classes: https://www.youtube.com/watch?v=P2ogQ... Learn Python from basics: https://www.youtube.com/watch?v=egq7Z...

List in Python | Part 1 | Castor Classes

Topics Discussed in this video:
1)Define a list in python
2)Index in list
3)Slicing of list
4)Mutation in list
5)length calculation in list
6)append in list
7)insert in the list
8)remove an element from a list




Tuesday, 21 April 2020

Strings in Python | Part 3 | Castor Classes

Topics covered in this video:

1)Escape Sequences
2)Raw String
3)Triple-quoted strings

Prerequisites:

Strings in Python | Python | Castor Classes

Strings in Python | Part 2 | Castor Classes

Rotate String | Practice Problem on String | Python | Castor Classes

Monday, 20 April 2020

Rotate String | Practice Problem on String | Python | Castor Classes

Prerequisites:

Strings in Python | Python | Castor Classes


Strings in Python | Part 2 | Castor Classes


Code:

class Solution:

    def rotateString(self, A: str, B: str) -> bool:

        if(len(A)!=len(B)):

            return False;

        else:

            A=A+A;

            if( B in A):

                return True;

            else:

                 return False;

Strings in Python | Part 2 | Castor Classes

Topics discussed in this video:
1)How to create a string in Python
2)String Concatenation
3) Multiplication of  a string with an integer
4)How to use escape character in string


Saturday, 11 April 2020

Strings in Python | Python | Castor Classes

Topics discussed in this video:
1)How to create a string in Python
2)String Concatenation
3) Multiplication of  a string with an integer
4)How to use escape character in the string

Tuesday, 7 April 2020

Hadoop Tutorial for Beginners | Hadoop Tutorial | Big Data Hadoop Tutorial for Beginners | Hadoop

Data Analysts and Hadoop experts are in high demand. The Big Data and Data Analytics industry is growing fast and wide, with a growth rate of 23% through 2026 and average salaries of $85,000. IT mavens like Google, Amazon and IBM as well as growing start-ups are always in search of Big Data experts. So we have come up with a tutorial on Apache Hadoop to help you get started on your Data Analytics path!

-------------------------------------------------------------------------------------------------------------------------------------------------------
The topics that will covered in the course include:
1. Introduction to Big Data - 03:03
2. ETL (Extract-Transform-Load) - 18:10
3. Introduction to Hadoop - 32:38
4. Distributed Computing - 46:20
5. Hadoop Architecture - 54:52
6. HDFS File Storage - 01:01:51
7. Introduction to Oozie and HDFS Processing - 01:15:01
8. Hadoop Clusters - 01:20:26
9. Hadoop Ecosystem - 01:39:09
10. Introduction to MapReduce - 02:07:18
11. Understanding MapReduce with an example - 02:20:32
12. MapReduce Practical Example - 02:37:33
13. Comparing MapReduce programming with Java - 02:49:07
14. MapReduce Hands On Word Count Program - 02:53:59
15. Word Count Program Code - 03:14:09
16. Apache Hadoop YARN - 03:54:37


Popular Posts

Categories

Android (21) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (4) C++ (81) Data Strucures (4) Downloads (1) Engineering (13) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (87) Leet Code (4) PHP (20) Python (214) R (69) Selenium Webdriver (2) Software (14) SQL (27)