CJCoding With Joseph
15free / daySign inCreate account
TitleTopicsAction
4
Two Ways To QuotePython accepts single or double quotes around a string, and both make the same k...
easy○ Not Started
StringsVariables
Solve
5
Apostrophe Inside Double QuotesAn apostrophe is the same character as a single quote, so a string that contains...
easy○ Not Started
StringsVariables
Solve
6
Three Lines In One StringA triple-quoted string may run over several lines, and every line break typed in...
easy○ Not Started
StringsVariables
Solve
7
Newline Inside A StringThe two-character escape `\n` inside a string stands for a line break, so one pr...
easy○ Not Started
StringsVariables
Solve
8
Full Name From Two PartsCombine the two stored names into one string with a single space between them us...
easy○ Not Started
Strings
Solve
9
First Letter Of A WordRead one word and print only its first character on a line by itself. Input: one...
easy○ Not Started
Strings
Solve
10
Last Letter With A Negative IndexRead one word and print its last character alone on a line. Input: one line, the...
easy○ Not Started
Strings
Solve
11
Bookends Of A WordRead one word and print its first and last characters joined by three dots, in t...
easy○ Not Started
Strings
Solve
12
First Three CharactersRead one word and print only its first three characters using the slice `[0:3]`,...
easy○ Not Started
StringsSlicing
Solve
13
Skip The First TwoRead one word and print everything except its first two characters using the sli...
easy○ Not Started
StringsSlicing
Solve
14
Reverse With A SliceRead one word and print it backwards using the slice `[::-1]`, whose step of -1 ...
easy○ Not Started
StringsSlicing
Solve
15
Every Second CharacterRead one word and print every second character starting from the first one, usin...
easy○ Not Started
StringsSlicing
Solve
16
How Long Is The WordRead one word and print its number of characters in the form `Length: <n>` using...
easy○ Not Started
Strings
Solve
17
Spaced Out LettersRead one word and print its characters on one line with a single space after eac...
easy○ Not Started
Strings
Solve
18
One Character Per LineRead one word and print each of its characters on its own line, in order, using ...
easy○ Not Started
Strings
Solve
19
Count A LetterRead one word and count how many times the lower-case letter a appears in it, us...
easy○ Not Started
Strings
Solve
20
Is It A PalindromeRead one word and print exactly `Palindrome` when it reads the same backwards as...
easy○ Not Started
StringsSlicing
Solve
21
Initials From Two NamesTake the first character of each stored name and print the initials in the form ...
easy○ Not Started
Strings
Solve
22
A Row Of Equals SignsMultiplying a string by a whole number repeats it, so `'=' * 20` is a row of twe...
easy○ Not Started
StringsOperators
Solve
23
Same Word Or NotRead two words, one per line, and print exactly `Same` when they are equal chara...
easy○ Not Started
Strings
Solve
24
Double Every LetterRead one word and build a new string in which every character appears twice in a...
easy○ Not Started
Strings
Solve
25
Reverse With A LoopRead one word and print it backwards without using a slice: start with an empty ...
easy○ Not Started
Strings
Solve
26
Length Of Each WordThree words are read into a list for you. Loop over the list and print each word...
easy○ Not Started
Strings
Solve
27
Swap The HalvesRead one word and print it with its two halves swapped: the second half first, t...
easy○ Not Started
StringsSlicing
Solve
28
Starts With A PrefixRead a word and a prefix and print exactly `Yes` when the word begins with the p...
easy○ Not Started
StringsSlicing
Solve
29
Last Three CharactersRead one word and print only its last three characters using the slice `[-3:]`, ...
easy○ Not Started
StringsSlicing
Solve
30
Echo The Word Three TimesRead one word and print it three times in a row with nothing between the copies,...
easy○ Not Started
StringsOperators
Solve
31
Count Characters By HandRead one word and count its characters without calling `len()`: start a counter ...
easy○ Not Started
Strings
Solve
32
Ends With An SRead one word and print exactly `Plural` when its last character is the lower-ca...
easy○ Not Started
Strings
Solve
33
Count The VowelsRead one lower-case word and count how many of its characters are vowels (a, e, ...
medium○ Not Started
Strings
Solve
34
Count The SpacesRead one sentence and count how many space characters it contains, comparing eac...
medium○ Not Started
Strings
Solve
35
Mirror The WordRead one word and print it followed immediately by its reverse, so the result re...
medium○ Not Started
StringsSlicing
Solve
36
Short Form Of A NameRead a first name and a last name and print the short form: the first initial, a...
medium○ Not Started
Strings
Solve
37
Odd PositionsRead one word and print the characters at the odd positions 1, 3, 5 and so on, u...
medium○ Not Started
StringsSlicing
Solve
38
Longest Of Three WordsRead three words into a list and print the longest of them in the form `Longest:...
medium○ Not Started
Strings
Solve
39
Put The Word In QuotesRead one word and print it wrapped in double quotes, so the output line begins a...
medium○ Not Started
Strings
Solve
40
Underline The TitleRead a title and print it, then on the next line print a row of dashes exactly a...
medium○ Not Started
StringsOperators
Solve
41
Trim The EndsRead one word and print it without its first and last characters, using one slic...
medium○ Not Started
StringsSlicing
Solve
42
Two Halves On Two LinesRead one word and print its first half on one line and the rest on the next line...
medium○ Not Started
StringsSlicing
Solve
43
Mask All But The FirstRead one word and print it with every character except the first replaced by `*`...
medium○ Not Started
Strings
Solve
44
Rotate Left By OneRead one word and print it rotated one place to the left: the first character mo...
medium○ Not Started
StringsSlicing
Solve
45
Ends With A SuffixRead a word and a suffix and print exactly `Yes` when the word ends with the suf...
medium○ Not Started
StringsSlicing
Solve
46
Total Letters In Three WordsThree words are read into a list. Add up the number of characters across all thr...
medium○ Not Started
Strings
Solve
47
Acronym From Three WordsThree words are read into a list. Build their acronym by starting from an empty ...
medium○ Not Started
Strings
Solve
48
Count A Chosen LetterRead a word and then a single letter, count how many times that letter appears i...
medium○ Not Started
Strings
Solve
49
Digits Versus LettersRead one line of text and sort its characters into three groups: digits, letters...
hard○ Not Started
Strings
Solve
50
Shout The SentenceRead one sentence and print it in capital letters, then on a second line report ...
hard○ Not Started
Strings
Solve
51
Count The WordsRead one sentence and print three lines about its words: `Words: <n>`, the numbe...
hard○ Not Started
Strings
Solve
52
Longest Run Of One LetterRead one word and print the length of its longest run, where a run is the same c...
hard○ Not Started
Strings
Solve
53
Palindrome Ignoring SpacesRead one phrase in lower case and decide whether it is a palindrome once every s...
hard○ Not Started
StringsSlicing
Solve