0
Help me please
Hi! Can someone help me with project in Python curse âFizzBuzzâ?
6 Answers
+ 3
There are a number of ways to do this. May I suggest you try the following.
Create an input called n. Remember it must be an integer.
IE: n = int(input())
Then create a range using your input as the upper number.
The task requires you drop odd numbers, so use the range slice to drop them.
IE: for i in range(0,n,2):
Then use the % to find if a number is diviisble by 3, and print Solo instead
IE: if i%3 ==0:
print("Solo")
Using if, elif & else statements, you should be able to resolve the rest of the challenge
+ 1
Please show your attempt so we may assist you
+ 1
Is it the task that replaces 3 with Solo, 5 with learn, etc...
0
ssory, but i donât understand anything in this task
0
i donât understand what i must to do.
Task is too strange.
0
yes