CJCoding With Joseph
15free / daySign inCreate account
TitleTopicsAction
304
Hello From A FunctionWrite the body of `say_hello`, a function with no parameters that prints the lin...
easy○ Not Started
Functions
Solve
305
Three Line BannerWrite the body of `print_banner`, a function with no parameters and no return va...
easy○ Not Started
Functions
Solve
306
Add Two NumbersComplete `add(a: int, b: int) -> int` so it returns the sum of its two parameter...
easy○ Not Started
FunctionsType Hints
Solve
307
Multiply And ReturnComplete `multiply(a: int, b: int) -> int` so it returns the product of its two ...
easy○ Not Started
Functions
Solve
308
Square A Number FunctionComplete `square(n: int) -> int` so it returns the number multiplied by itself. ...
easy○ Not Started
Functions
Solve
309
Greeting With A ParameterComplete `greet(name: str) -> None` so it prints the line `Hello, <name>.` with ...
easy○ Not Started
Functions
Solve
310
Print Or ReturnTwo functions take the same two whole numbers. `show_sum(a: int, b: int) -> None...
easy○ Not Started
Functions
Solve
311
Half Of A Number FunctionComplete `half(n: int) -> float` so it returns the number divided by 2 using tru...
easy○ Not Started
Functions
Solve
312
Area Of A RectangleComplete `area_of_rectangle(width: float, height: float) -> float` so it returns...
easy○ Not Started
Functions
Solve
313
Is It EvenComplete `is_even(n: int) -> bool` so it returns `True` when the number is even ...
easy○ Not Started
FunctionsOperators
Solve
314
Absolute Value FunctionComplete `absolute(num: int) -> int` so it returns the number with any minus sig...
easy○ Not Started
Functions
Solve
315
Initials With DotsComplete `initials(first: str, last: str) -> str` so it returns the first letter...
easy○ Not Started
Functions
Solve
316
Palindrome FunctionComplete `is_palindrome(word: str) -> bool` so it returns `True` when the word r...
easy○ Not Started
FunctionsSlicing
Solve
317
Double Then QuadrupleThe function `double(n: int) -> int` is finished. Complete `quadruple(n: int) ->...
easy○ Not Started
Functions
Solve
318
Describe A PersonComplete `describe(name: str, age: int) -> str` so it returns the sentence `<nam...
easy○ Not Started
FunctionsType Hints
Solve
319
Print What It Returns`cube(n: int) -> int` is already written and returns the number multiplied by it...
easy○ Not Started
Functions
Solve
320
Sum Of A List By LoopComplete `sum_of(values: list[int]) -> int` so it returns the total of every num...
easy○ Not Started
Functions
Solve
321
Countdown Inside A FunctionComplete `count_down(start: int) -> None` so it prints every whole number from `...
easy○ Not Started
Functions
Solve
322
Is It PositiveComplete `is_positive(num: int) -> bool` so it returns `True` when the number is...
easy○ Not Started
Functions
Solve
323
Minutes To SecondsComplete `minutes_to_seconds(minutes: int) -> int` so it returns the same length...
easy○ Not Started
Functions
Solve
324
Join First And Last NameComplete `full_name(first: str, last: str) -> str` so it returns the two names j...
easy○ Not Started
Functions
Solve
325
Average Of Two NumbersComplete `average_of_two(a: float, b: float) -> float` so it returns the average...
easy○ Not Started
Functions
Solve
326
Last Character FunctionComplete `last_character(word: str) -> str` so it returns the final character of...
easy○ Not Started
Functions
Solve
327
Celsius To Fahrenheit FunctionComplete `celsius_to_fahrenheit(celsius: float) -> float` so it returns the temp...
easy○ Not Started
Functions
Solve
328
Voting Age FunctionComplete `can_vote(age: int) -> bool` so it returns `True` when the age is 18 or...
easy○ Not Started
Functions
Solve
329
Return Without ParametersComplete `lucky_number() -> int`, a function with no parameters that returns the...
easy○ Not Started
Functions
Solve
330
Area Of A TriangleComplete `triangle_area(base: float, height: float) -> float` so it returns the ...
easy○ Not Started
Functions
Solve
331
Count Up Inside A FunctionComplete `count_up(limit: int) -> None` so it prints every whole number from 1 u...
easy○ Not Started
Functions
Solve
332
Rectangle Perimeter FunctionComplete `perimeter(width: int, height: int) -> int` so it returns the distance ...
easy○ Not Started
Functions
Solve
333
Power By LoopWrite the body of `power(base: int, exponent: int) -> int` so it returns `base` ...
medium○ Not Started
Functions
Solve
334
Grade For A MarkWrite the body of `grade_for(mark: int) -> str` so it returns `A` for 90 or more...
medium○ Not Started
Functions
Solve
335
Repeat WordWrite the body of `repeat_word(word: str, times: int) -> None` so it prints the ...
medium○ Not Started
Functions
Solve
336
Describe The SignWrite the body of `sign_of(num: int) -> str` so it returns the word `positive` f...
medium○ Not Started
Functions
Solve
337
Max Of TwoWrite the body of `max_of_two(left: int, right: int) -> int` so it returns the l...
medium○ Not Started
Functions
Solve
338
Longer WordWrite the body of `longer_word(first: str, second: str) -> str` so it returns wh...
medium○ Not Started
Functions
Solve
339
Tally One CharacterWrite the body of `count_letter(text: str, target: str) -> int` so it returns ho...
medium○ Not Started
Functions
Solve
340
Even Or Odd WordWrite the body of `parity(num: int) -> str` so it returns the word `even` when t...
medium○ Not Started
FunctionsOperators
Solve
341
Sum Up To NWrite the body of `sum_to(limit: int) -> int` so it returns the total of every w...
medium○ Not Started
Functions
Solve
342
Leap Year FunctionWrite the body of `is_leap_year(year: int) -> bool` so it returns `True` for a l...
medium○ Not Started
FunctionsOperators
Solve
343
Discount Over A HundredWrite the bodies of two functions. `apply_discount(total: float) -> float` retur...
medium○ Not Started
Functions
Solve
344
Minutes And SecondsWrite the body of `clock_text(seconds: int) -> str` so it returns the time as `<...
medium○ Not Started
FunctionsOperators
Solve
345
Clamp To A RangeWrite the body of `clamp(value: int, low: int, high: int) -> int` so it returns ...
medium○ Not Started
Functions
Solve
346
Smallest Of Three FunctionWrite the body of `min_of_three(first: int, second: int, third: int) -> int` so ...
medium○ Not Started
Functions
Solve
347
Report Both Temperatures`fahrenheit_of(celsius: float) -> float` is already written. Write the body of `...
medium○ Not Started
Functions
Solve
348
Count Down By StepsWrite the body of `count_down_by(start: int, step: int) -> None` so it prints `s...
medium○ Not Started
Functions
Solve
349
Caesar CipherWrite `def caesar(text: str, shift: int) -> str` that returns the text with ever...
hard○ Not Started
FunctionsPractice Problems
Solve
350
Vowel Counter FunctionWrite `def count_vowels(text: str) -> int` that returns how many characters of t...
hard○ Not Started
Functions
Solve
351
Factorial By CountdownWrite `def factorial(n: int) -> int` that returns n factorial, the product of ev...
hard○ Not Started
Functions
Solve
352
Largest Without MaxWrite `def largest_of(values: list[int]) -> int` that returns the biggest number...
hard○ Not Started
Functions
Solve
353
Average Without SumWrite `def average_of(values: list[float]) -> float` that returns the average of...
hard○ Not Started
Functions
Solve