empireofcode's profile picture. Space strategy game where coding is your extra weapon

Empire of Code

@empireofcode

Space strategy game where coding is your extra weapon

Empire of Code reposted

#Python tip: Hard-coded constants should use the optional underscore as a thousands separator: >>> x = 1_234_567 Also, you can output numbers in that format: >>> f'{x:_d}' '1_234_567' Or with commas: >>> f'{x:,d}' '1,234,567' 1/


Empire of Code reposted

I wrote something about getting started contributing to CPython paper.dropbox.com/doc/Contributi… #pycascades


Empire of Code reposted

docker run -it --rm docker/doodle:halloween2019

Docker's tweet image. docker run -it --rm docker/doodle:halloween2019

Empire of Code reposted

"The only way to learn a new programming language is by writing programs in it." - Dennis Ritchie


Empire of Code reposted

This is a big one!

Mypy 0.730 is out, with prettier, colored output and error code support, along with many other fixes and improvements mypy-lang.blogspot.com/2019/09/mypy-7…



Empire of Code reposted

Today, we found a small bug in IDLE during Intro #Python class, and I took that opportunity to show how to file bug report. Tomorrow, I expect the learners to be delighted when they see the bug has already been fixed 🤩 bugs.python.org/issue38077


Empire of Code reposted

Pair programming level 50


Empire of Code reposted

"Python is designed to deliver an experience that is simple and easy to use. This is only possible through a combination of advanced technologies and sophisticated engineering."


Empire of Code reposted

"If it doesn’t work, it doesn’t matter how fast it doesn’t work." - Mich Ravera


Empire of Code reposted

#Python's alternative increment operator is affectionately known as the space-invader operator. >>> score = 10 >>> score -=- 1 >>> score 11


Fixes: Retina and Browser Resize. More is coming. :)


Battle description have been upgraded buff.ly/1KixXqa Battle events have been refactored buff.ly/1Kiy2ds .


Sharing ideas around coding games. Yes, CiO and EoC can be something bigger buff.ly/1L8gvzp


Balance, new missions, bug fixes will be released at Feb the 3th. Stay tuned


Loading...

Something went wrong.


Something went wrong.