Skip to content

Commit c296d6a

Browse files
committed
Argparse
1 parent d0d69f0 commit c296d6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ Bytes
874874
```python
875875
<bytes> = b'<str>'
876876
<bytes> = <str>.encode(encoding='utf-8')
877-
<bytes> = <int>.to_bytes(<length>, byteorder='big|little', signed=False)
877+
<bytes> = <int>.to_bytes(length, byteorder='big|little', signed=False)
878878
<bytes> = bytes.fromhex(<hex>)
879879
```
880880

@@ -1260,9 +1260,9 @@ answer = args.x ** args.y
12601260
if args.quiet:
12611261
print(answer)
12621262
elif args.verbose:
1263-
print('{args.x} to the power {args.y} equals {answer}')
1263+
print(f'{args.x} to the power {args.y} equals {answer}')
12641264
else:
1265-
print('{args.x}^{args.y} == {answer}')
1265+
print(f'{args.x}^{args.y} == {answer}')
12661266
```
12671267

12681268
#### Usage:

0 commit comments

Comments
 (0)