Stephen Gruppetta

0 Followers
43 Following
73 Posts
• Rethinking how to teach #coding • Writes about #Python on ThePythonCodingBook.com/blog and at RealPython • Former Physicist • #Programming #fedi22
The Python Coding Book – The Bloghttps://thepythoncodingbook.com/blog
The Python Coding Bookhttps://thepythoncodingbook.com
Codetodayhttps://codetoday.co.uk
Curated Collection of Python Threadshttps://typefully.com/s_gruppetta_ct
A Python Lunar Landing game using the turtle module

A Python Lunar Landing program that uses the turtle module. The article guides you through the program in a step-by-step approach

The Python Coding Book

One of the most fun modules in #Python is the `turtle` module, but…

I can hear you think "That's only for simple, boring drawings, and nothing else, right?"

Think again – see video

If you want to have a go at writing this game, there's a details step-by-step tutorial here, one of the most popular on The Python Coding Book Blog:

https://thepythoncodingbook.com/2022/04/24/python-lunar-landing-game-using-turtle-tutorial/

#animations #games #programming

A Python Lunar Landing game using the turtle module

A Python Lunar Landing program that uses the turtle module. The article guides you through the program in a step-by-step approach

The Python Coding Book

In Day 9 we'll bring positional-only and keyword-only arguments together in a single function

Have a look at this example

—> Which of these options will raise errors?

You can refer to the threads from the last two days if you need to refresh your memories…

/1

Let's go through all four function calls one at a time

# 1.

All the arguments are positional arguments in this call

This leads to an error

/2

For those who want to see the kind of content I post, all on #Python #programming, you can have a look here until this timeline fills up a bit more: https://twitter.com/s_gruppetta_ct
Stephen Gruppetta (@s_gruppetta_ct) / Twitter

• Rethinking how to teach coding to children & adults • https://t.co/aN2sPrRufw • Director of Studies @codetoday_ • RealPython author • Ex-Physicist •

Twitter
Hi, just introducing here myself, I work on Python open source projects, most importantly virtualenv and tox (for a full list see https://bernat.tech/about), and yes tox 4 will come out at some point, not this year though 🤷‍♂️
No dear Grammarly, I didn't mean "awards". I did actually mean "kwargs"
Also - a remarkable little tool. It takes a mastodon thread and turns it into #markdown which you can copy/paste as the basis for a blog entry :) Again, thanks @vadim ! https://thread.vrutkovs.eu/
I'll be converting this series of threads into a series of articles on https://ThePythonCodingBook.com/blog, so they'll be in a slightly more long-form format soon, too

Lots of people have been enjoying the ongoing series on Python functions which looks beyond the basics at some more "intermediate" aspects

We're nearing the end of the series (Day 9 thread published later today, then there are 3 more Days left)

...