0
Hey Guys Here's My First Python Code But Still Is there any possibility to improves this code :)
9 Réponses
+ 3
+ 2
Your code is clean and clear, so actually it is at its most readable state.
.
If you are aiming for one liner.
You can begin with saving the == 0 and ==1 because the boolean values of 0 and 1 are false and true respectively.
+ 2
XyzPrince Check my code again, it's shorter now
+ 1
The function range() works like this:
The first argument is start
The second argument is end
The third argument is step
Any clue how to do print odd number by slight altering on your line 10 now^^?
0
I'm thinking of to to print odd numbers too as of even numbers but I'm unable to make a code for that
0
Hey dude u gotta modify it
0
Just now i completed my code
0
Good, it works