ubuntu2004
Kernel: Python 3 (system-wide)
Exercise 19.1
Write a function called string_length()
that prints the length of the word "Hello". Don't forget the doc-string.
In [6]:
Out[6]:
5
Exercise 19.2
Write a function called hello_me()
that asks for input of your name then prints "Hello" followed by your name.
In [5]:
Out[5]:
Hello A
Exercise 19.3
Write a function called multiply_two_numbers()
that asks for input of two numbers and then prints their product.
In [9]:
Out[9]:
10