Basic Function Homework

Automated grading of homework assignments and tests

  • fork this repository
  • solve the task
  • commit with proper message
  • commit with proper message

Problems

basic_func01

Create a function called main.

Example 1:

Input:
Output: 0

basic_func02

Create a function called main.

Example 1:

Input:
Output: "Hello World"

basic_func03

Create a function called main.

Example 1:

Input:
Output: "codeschooluz"

basic_func04

Create a function called main.

Example 1:

Input:
Output (int): 1

Example 2:

Input:
Output (int): -1

basic_func05

Create a function called main.

Example 1:

Input:
Output (float): 1.5

Example 2:

Input:
Output (float): -2.4

basic_func06

Create a function called main.

Example 1:

Input:
Output (str): "Hello World"

Example 2:

Input:
Output (str): "0"

basic_func07

Create a function called main.

Example 1:

Input: a = 5
Output: 5

Example 2:

Input: a = 0
Output: 0

basic_func08

Create a function called main.

Example 1:

Input: a = 5
Output: 6

Example 2:

Input: a = 8
Output: 9

basic_func09

Create a function called main.

Example 1:

Input: a = 5
Output: 4

Example 2:

Input: a = 8
Output: 7

basic_func10

Create a function called main.

Example 1:

Input: a = 5
Output: -5

Example 2:

Input: a = 1
Output: -1

Warning

  • don't copy other solutions or any solution
  • don't remove comments