Sunday 26 April 2020
Saturday 25 April 2020
Data Type Conversion | Python | Castor Classes
Author April 25, 2020 Python No comments
The Python Workbook: A Brief Introduction with Exercises and Solutions Hardcover – 4 February 2015 by Ben Stephenson (Author)
Author April 25, 2020 Books, Python No comments
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)
Friday 24 April 2020
Reverse Words in a String(Part 2) | GeeksForGeeks | Python | Castor Classes
Author April 24, 2020 Python No comments
Reverse Words in a String III (Part 1) | LeetCode | Python | Castor Classes
Author April 24, 2020 Python No comments
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...
Check if a string is Isogram or not | Python | Castor Classes
Author April 24, 2020 Python No comments
Convert a word to list of characters using list & Palindrome | Python | Castor Classes
Author April 24, 2020 Python No comments
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
Author April 23, 2020 Python No comments
Single Number II | Practice Problem on List | Python | Castor Classes
Author April 23, 2020 Python No comments
Single Number | Practice Problem on List | Python | Castor Classes
Author April 23, 2020 Python No comments
Convert list to string | List in Python | Part 5 | Castor Classes
Author April 23, 2020 Python No comments
Iterate over a list & string | List in Python | Part 4 | Castor Classes
Author April 23, 2020 Python No comments
List in Python | Part 3 | Castor Classes
Author April 23, 2020 No comments
List in Python | Part 2 | Castor Classes
Author April 23, 2020 Python No comments
1)pop operation on list
2)del
3)clear
4)Joining two lists in python
Tuesday 21 April 2020
Strings in Python | Part 3 | Castor Classes
Author April 21, 2020 Python No comments
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
Author April 20, 2020 Python No comments
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;
Popular Posts
-
This textbook grew out of notes for the ECE143 Programming for Data Analysis class that the author has been teaching at University of Cali...
-
1. What is the output of following Python code? a = 'a' print(int(a, 16)) Solution and Explanation: Let's break down the expr...
-
What you'll learn Gain an immersive understanding of the practices and processes used by a junior or associate data analyst in their d...
-
Code: import pyfiglet from termcolor import colored import random def get_random_font_style(): # List of available Figlet font styles ...
-
import statsmodels.api as sm import numpy as np # Generate some sample data x = np.random.rand(100) y = 2 * x + np.random.randn(100) # Fit...
-
Machine learning is one of the fastest growing areas of computer science, with far-reaching applications. The aim of this textbook is to i...
-
Code: num = [1, 2, 3] *middle, last = num print(middle, last) Solution and Explanation: Let's break down the code step by step: num = ...
-
Code: num = [7, 8, 9] *mid, last = num[:-1] print(mid, last) Solution and Explanation: let's break down the code: num = [7, 8, 9] *m...
-
Code: dict_a = {"a": 1, "b": 2} dict_b = {"a": 1, "b": 2} print(dict_a is dict_b) print(dict_a == ...
-
Code: num = [5, 6] *midd, lst = num, num[-1] print(midd, lst) Solution and Explanation: Let's break down the code step by step: nu...