sshlog package¶
Submodules¶
sshlog.hello module¶
-
class
sshlog.hello.
HelloWorld
(firstname, lastname)¶ Bases:
object
HelloWorld class will tell you hello!
initialize HelloWorld class
Parameters: - firstname (str) – first name of user
- lastname (str) – last name of user
-
hello
¶ say hello to user
a longer message about what this function does
Returns: special hello message to user Return type: str
-
helloworld
(name)¶ string with special hello message to name
Parameters: name (str) – the person to say hello to Returns: special hello world message Return type: str
-
sshlog.hello.
fizzbuzz
(n)¶ A super advanced fizzbuzz function
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz” Prints out fizz and buzz
Parameters: n (int) – number for fizzbuzz to count to Returns: prints to Return type: None