-
-
Notifications
You must be signed in to change notification settings - Fork 307
Conversation
|
||
## Argument | ||
|
||
This function takes one argument `x` that should be of integer type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argument argument, x
thatx
, that
@alayek Just need a quick |
## Example | ||
|
||
```python | ||
print hex(16) # prints 0x10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting this on REPL
Traceback (most recent call last):
File "python", line 1
print hex(16)
^
SyntaxError: invalid syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are using Python 2 print syntax, use print()
This is the main article, which refers to other articles on Python functions. Please edit this file as well and include yours, in alphabetical order. |
@Rafase282 done. any more changes? |
LGTM 👍Let's 📦 |
@nj4710 you haven't add it yet. |
I have created a pull request |
LGTM |
For issue #819