example_script module
- example_script.addition(float_1, float_2)
Adds two float variables and returns their sum.
- Parameters
float_1 (float) – The first float to add.
float_2 (float) – The second float to add.
- Returns
sum – The sum of float_1 and float_2.
- Return type
float
- example_script.greet_the_user(time_of_day, name)
Generates a string to greet the user based on the time of day, and the user’s name
- Parameters
time_of_day (string) – The time of day. Examples: “Morning”, “Afternoon”, “Evening”
name (string) – The name of the user.
- Returns
greeting – The sum of float_1 and float_2.
- Return type
string