Write a function is_multiple_of_5_not_3(num) that returns True if num is divisible by 5 but is not divisible by 3, and False otherwise.
NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition.
is_multiple_of_5_not_3(10) -> True
is_multiple_of_5_not_3(15) -> False
Implement this function:
def is_multiple_of_5_not_3(num: int) -> bool:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: num.
Input
10
Output
True
Write a function `is_multiple_of_5_not_3(num)` that returns `True` if `num` is divisible by 5 but is not divisible by 3, and `False` otherwise. NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition. ### Example ``` is_multiple_of_5_not_3(10) -> True is_multiple_of_5_not_3(15) -> False ``` ## Your task Implement this function: ```python def is_multiple_of_5_not_3(num: int) -> bool: ``` Write the function only — the arguments are read for you and the return value is printed automatically. **Arguments** arrive as one Python literal per line, in this order: `num`. ## Example **Input** ``` 10 ``` **Output** ``` True ``` Write a function `starts_with_greeting(s)` that returns `True` if the string `s` starts with `"Hello "` or with `"Hi "`, including the space after the word. Otherwise it returns `False`. The check is case sensitive. NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition. ### Example ``` starts_with_greeting("Hello World") -> True starts_with_greeting("Hi There") -> True ``` ## Your task Implement this function: ```python def starts_with_greeting(s: str) -> bool: ``` Write the function only — the arguments are read for you and the return value is printed automatically. **Arguments** arrive as one Python literal per line, in this order: `s`. ## Example **Input** ``` "Hello World" ``` **Output** ``` True ``` Write a function `combine_edges(s)` that returns a string made of the first two characters of `s` followed by its last two characters. If `s` has fewer than 4 characters, return the empty string `""`. NOTE: This is a function type question, you don't have to take input or print the output, just have to complete the required function definition. ### Example ``` combine_edges("Programming") -> 'Prng' combine_edges("abc") -> '' ``` ## Your task Implement this function: ```python def combine_edges(s: str) -> str: ``` Write the function only — the arguments are read for you and the return value is printed automatically. **Arguments** arrive as one Python literal per line, in this order: `s`. ## Example **Input** ``` "Programming" ``` **Output** ``` 'Prng' ```