Exercise 1: Chaining
Write a method to print odd numbers in sorted order.
We'll cover the following
Problem statement
We have two strings, first_name
and last_name
. Find the combined length of both strings.
Example
first_name = 'alex'
last_name = 'smith'
result = 9
Try it yourself
def find_length(first_name,last_name)# Start your code herereturn resultend