Skip When a Multiple of X

# Introduction In this project, you will learn how to create a function that generates a list of numbers from 1 to 100, skipping any numbers that are multiples of a given number or contain that number. ## 👀 Preview ```python Enter a number: 7 >>> [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 20, 22, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 36, 38, 39, 40, 41, 43, 44, 45, 46, 48, 50, 51, 52, 53, 54, 55, 58, 59, 60, 61, 62, 64, 65, 66, 68, 69, 80, 81, 82, 83, 85, 86, 88, 89, 90, 92, 93, 94, 95, 96, 99, 100] ``` ## 🎯 Tasks In this project, you will learn: - How to implement the `jump_x` function to generate the desired list of numbers - How to take user input and use it in the function - How to run the function and observe the output ## 🏆 Achievements After completing this project, you will be able to: - Understand how to create a function that skips certain numbers based on a given condition - Implement user input in a Python program - Run a Python script and interpret the output

|60 : 00

Click the virtual machine below to start practicing