Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_even_numbers(first_num, last_num):
- if((first_num%2) != 0):
- first_num += 1
- while(first_num <= last_num):
- print(first_num, " ", end = "")
- first_num += 2
- print_even_numbers(6,16)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement