0

How can I do the python project fizz bizz

13th Feb 2021, 8:55 AM
Meghna Kundu
Meghna Kundu - avatar
3 ответов
+ 5
Please show us what you've done so far so we may help. Thanks HINTS: - Use for loop to iterate each odd integers up to that number. To iterate each odd integer: ---> for num in range(1, n, 2): Where n is the input, 1 is the starting point and 2 is the step (so it will just iterate odd numbers). - Use conditions and use modulo operator to check if a number is divisible by 3 or 5 inside your for loop then print that number.
13th Feb 2021, 8:58 AM
noteve
noteve - avatar
+ 4
By understanding the problem and find the logic of that fizz buzz problem then you will solve it Try first 🙂
13th Feb 2021, 8:56 AM
Piyush
Piyush - avatar
+ 2
In case of any doubts. Copy and paste your code here
13th Feb 2021, 8:57 AM
Atul [Inactive]