We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045c079 commit 05bb303Copy full SHA for 05bb303
23.py
@@ -0,0 +1,33 @@
1
+import this
2
+
3
4
+def main():
5
+ this_this = first_step()
6
+ hint = "va gur snpr bs jung?"
7
+ second_step(hint, this_this)
8
9
10
+def first_step():
11
+ return this.s
12
13
14
+def second_step(hint, this_this):
15
+ hint_ary = hint.split(" ")
16
+ len_hint_ary = []
17
+ for element in hint_ary:
18
+ len_hint_ary.append(len(element))
19
+ print(len_hint_ary)
20
21
+ lines_of_this = str(this_this).split("\n")
22
+ print(lines_of_this)
23
+ len_str_in_line = []
24
+ for line in lines_of_this:
25
+ str_in_line = line.split(" ")
26
+ for str_ele in str_in_line:
27
+ len_str_in_line.append(len(str_ele))
28
+ print(len_str_in_line)
29
30
31
32
+if __name__ == "__main__":
33
+ main()
0 commit comments