Intro Bite 01. F-strings and a simple if/else
|
|
Welcome to our Intro Bites, it's time to gauge where …
3.10
freebie
f-strings
if/else
|
|
Bite 146. Rhombus generator
|
|
In this Bite you make a generator of rhombus shapes. …
3.10
format
f-strings
string formatting
|
|
Bite 167. Complete a User class: properties and representation dunder methods
|
|
In this Bite you are presented with another class, User …
3.10
classes
dunder methods
f-strings
properties
__repr__
__str__
string manipulation
|
|
Bite 173. Set up future notifications
|
|
Let's do another datetime processing Bite. Complete add_todo below that …
3.10
datetime
findall
f-strings
timedelta
|
|
Bite 187. Actor/actress age at movie release
|
|
Ever wondered how old an actor/actress was in a particular …
3.10
dataclasses
dateutil
f-strings
|
|
Bite 314. Print names to columns
|
|
In this Bite you will use the modulo operation. You …
3.10
f-strings
modulo
print
|
|
Bite 373. Reverse only Letters
|
|
Given a string, reverse only the English letters (lowercase or …
queues
stacks
strings
|
|
Bite 374. Group Anagrams
|
|
As defined by the OED, an anagram is a word, …
array
defaultdict
strings
|
|
Bite 372. Validate Pangram
|
|
A pangram, according to the Oxford English Dictionary, is a …
algorithms
hashing
string
strings
|
|
Bite 375. Find All Letter Combinations of a Phone Number
|
|
The typical phone keypad (pictured) features numbers (0 - 9), …
backtracking
itertools
strings
|
|
Newbie Bite 30. Special Chars
|
|
In this Bite, you'll learn about special characters in Python …
3.10
newbie
newline
special characters
strings
tab
|
|
Newbie Bite 31. Word Count
|
|
In this bite, we are going to explore two useful …
3.10
methods
newbie
strings
|
|
Newbie Bite 41. String Manipulations
|
|
In this Bite, you'll learn more about manipulating strings in …
3.10
lists
lowercase
newbie
slicing
split
string manipulation
strings
strip
|
|
Newbie Bite 49. Formatting Intro
|
|
In this Bite, you'll learn about string interpolation using the …
3.10
.format()
newbie
string interpolation
strings
|
|
Bite 5. Parse a list of names
|
|
In this Bite you will work with a list of …
3.10
freebie
lambda
list comprehensions
min
sorting
|
|
Bite 28. Converting date strings to datetimes
|
|
In this Bite you are provided with a list of …
3.10
Counter
datetime
findall
|
|
Bite 91. Matching multiple strings
|
|
Catching up after #PyCon2018 ... in this Bite you do …
3.10
all
any
string matching
|
|
Intro Bite 04. Split and join
|
|
Split up the message on newline (\n) using the split …
3.10
freebie
join
split
|
|
Bite 141. Primitive date format inferrer
|
|
Complete the get_dates method given the following: a listing of …
3.10
classmethod
datetime
enum
exception handling
|
|
Bite 151. Contemporary Composers
|
|
You are given a list of operas and a list …
3.10
datetime
dict
exception handling
generators
namedtuple
|
|
Newbie Bite 08. String Manipulation
|
|
There are times you'll need to manipulate the strings you've …
3.10
newbie
string manipulation
|
|
Bite 209. Write a Sphinx docstring
|
|
Your team uses Sphinx and wants you to comply with …
3.10
data types
docstring
sphinx
|
|
Bite 223. Unix file permissions
|
|
Each file and directory in Unix has its permissions broken …
3.10
dict
list comprehensions
string manipulation
|
|
Bite 231. Where are the emojis?
|
|
In this Bite you are given a list of strings …
3.10
emojis
list
list comprehensions
looping
regular expressions
|
|
Bite 286. Decompress
|
|
Write a function, called decompress(), that accepts a string and …
3.10
recursion
string manipulation
|
|
Bite 287. Sum indices
|
|
Write a function that accepts a list of strings and …
3.10
looping
sum
|
|
Bite 325. Floating point arithmetic
|
|
This Bite introduces you to a few issues associated with …
3.10
arithmetic
floats
numbers
rounding
|
|
Bite 364. Create Wikipedia Lorem Ipsum text
|
|
Lorem Ipsum is text used to demonstrate layout in documents …
3.10
beautifulsoup
list comprehensions
random
regular expressions
requests
|
|