I would say true because text is really important so you eant to make it look as good as possible.
Widows 7 is no longer supported for anti virus, I recommend a windows 10 license
Answer:
b) num % 2 ==1;
Explanation:
Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.
Answer:
value=int(input("Enter the number up-to the user wants the Fibonacci series: "))
a=0
b=1
c=1
for x in range(value):
print(c,end=" ")
c=a+b
a=b
b=c
Output :
- If the user input 5, then the output is "1 1 2 3 5".
- If the user input 10, then the output is "1 1 2 3 5 8 13 21 34 55".
Explanation:
- The above defined a python program which is used for the Fibonacci series.
- The first line of the program is used to instruct the user and take the input from the user.
- Then the for loop executes up-to that range value.
- Then in the for-loop, the two variable needs to store the current value and previous value which is used to give the series after addition.
C should be the answer to this I hope that this helps