Skip to content
This repository was archived by the owner on Apr 1, 2021. It is now read-only.

Article: Python Hex Function - #1033

Merged
3 commits merged into
freeCodeCamp:masterfrom
nj4710:patch-4
May 26, 2016
Merged

Article: Python Hex Function#1033
3 commits merged into
freeCodeCamp:masterfrom
nj4710:patch-4

Conversation

@nj4710

@nj4710 nj4710 commented May 25, 2016

Copy link
Copy Markdown
Contributor

For issue #819

@ghost ghost self-assigned this May 25, 2016
@ghost ghost added QA Python labels May 25, 2016
@ghost ghost added this to the June Summit milestone May 25, 2016
Comment thread Python-Function-Hex.md Outdated

## Argument

This function takes one argument `x` that should be of integer type.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argument x that argument, x, that

@ghost ghost changed the title Create Python-Function-Hex.md Article: Python Hex Function May 26, 2016
@ghost

ghost commented May 26, 2016

Copy link
Copy Markdown

@alayek Just need a quick QA from you 😆

Comment thread Python-Function-Hex.md Outdated
## Example

```python
print hex(16) # prints 0x10

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member

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()

@Rafase282

Copy link
Copy Markdown
Member

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.

@nj4710

nj4710 commented May 26, 2016

Copy link
Copy Markdown
Contributor Author

@Rafase282 done. any more changes?

@alayek

alayek commented May 26, 2016

Copy link
Copy Markdown
Member

LGTM 👍

Let's :shipit: 📦

@Rafase282

Copy link
Copy Markdown
Member

@nj4710 you haven't add it yet.

@nj4710

nj4710 commented May 26, 2016

Copy link
Copy Markdown
Contributor Author

I have created a pull request

@Rafase282

Copy link
Copy Markdown
Member

LGTM

@ghost
ghost merged commit 28e970f into freeCodeCamp:master May 26, 2016
@BerkeleyTrue BerkeleyTrue removed the QA label May 26, 2016
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants