<jupyter_start><jupyter_text>Task 1. Assign num to an integer value. 2. Write a series of if, elif, else statements that will print the num you assigned. 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".<jupyter_code># Solution 1
num = 10
if num % 3 == 0 and num % 5 == 0:
    print('FizzBuzz')
elif num % 3 == 0:
    print('Fizz')
elif num % 5 == 0:
    print('Buzz')
else:
    print(str(num))
# Solution 2
num = 15
"""Notice how difficult this solution is relative to Solution 1"""

string = ""
if num % 3 == 0:
    string = string + "Fizz"
if num % 5 == 0:
    string = string + "Buzz"
if num % 5 != 0 and num % 3 != 0:
    string = string + str(num)
print(string)<jupyter_output>FizzBuzz
{'fraction_non_alphanumeric': 0.11707317073170732, 'fraction_numerical': 0.03048780487804878, 'mean_word_length': 3.4863387978142075, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '429821', 'license': 'MIT', 'n_tokens_mistral': 300, 'n_tokens_neox': 272, 'n_words': 121, 'path': 'Python_Basics/Intro/Python3Basics_Video5_Blog_Note.ipynb', 'repo_name': 'mrpal39/Python_Tutorials', 'size': '820'}