Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for dukoolsharma

Relational operators compare values. Less than (<) If the value on the left is lesser, it returns True. >>>'hi'<'HI' False. Greater than (>) If the value on the left is greater, it returns True. >>> 1.1+2.2>3.3 True. This is because of the flawed floating-point arithmetic in Python, due to hardware …

Member Avatar for Vikrant Singhal
-1
564
Member Avatar for Sheetal_1
Member Avatar for dukoolsharma

As many as you would like, however the static initializers {and class|and sophistication} variable initializers are executed in textual order and should not refer to class variables declared in the class whose declarations seem textually once the use, despite the fact that these class variables are in scope.

Member Avatar for Sheetal_1
0
391
Member Avatar for Sheetal_1
Member Avatar for HimaniBansal

Very conveniently. A function that doesn’t return anything returns a None object. In python, Not necessarily does the return keyword mark the end of a function it merely ends it when present in the function. Normally, a block of code marks a function and where it ends, the function body …

Member Avatar for JamesCherrill
0
410
Member Avatar for HimaniBansal

This is the general answer for this query- For this to happen, two conditions must be met: 1. The script file’s mode must be executable 2. The first line must begin with a hash(#). An example of this will be: #!/usr/local/bin/python

Member Avatar for woooee
0
465
Member Avatar for Sheetal_1

The End.