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 ebb7d21 commit 9604591Copy full SHA for 9604591
CodingBat solutions - Warmup-2
@@ -0,0 +1,16 @@
1
+# Programmer : Dhruv Patel
2
+# Problem Name : CodingBat.com
3
+# Used In : Python
4
+# Used As : Warmup-2
5
+# Thoughts =>
6
+# Given a string and a non-negative int n, return a larger string that is n copies of the original string.
7
+#
8
+
9
+'''
10
+ Warmup-1 > sleep_in
11
+ The parameter weekday is True if it is a weekday, and the parameter vacation is True if we are on vacation.
12
+ We sleep in if it is not a weekday or we're on vacation. Return True if we sleep in.
13
+ sleep_in(False, False) → True
14
+ sleep_in(True, False) → False
15
+ sleep_in(False, True) → True
16
0 commit comments