In Python, while loops allow you to repeat things forever, or up until a certain point. Here’s an example: keep_going = Truewhile (keep_going == True): print(“Hello world!”) This will print “Hello world!” indefinitely. The keep_going value is set to True, and the while loop checks continuously check that the keep_going value is equal to True.Continue reading “Python tutorial – While loops basics”
Tag Archives: Code in Python
Python tutorials #1 – basic calculator
This is the first of my Python tutorials! Python is a programming language but unlike C++ and Java, is easier to learn but can still be used to create amazing programs such as web browsers, calculators, word processors, and more. But unlike Scratch, a GUI used to make games and other projects aimed at beginnersContinue reading “Python tutorials #1 – basic calculator”
One lovely blog award – who are my favourite bloggers?
This challenge has spread across the internet like fire (I didn’t create this challenge) so I have decided to do one. Basically, I have to tell you 7 things about my character. And up to 15 bloggers I enjoy. I have over 40 followers, but as there are limits (a few don’t have blogs) andContinue reading “One lovely blog award – who are my favourite bloggers?”
MCPE Multiplayer with Minecraft Pi Edition
The Pi Edition is based on an old version of MCPE, isn’t it. Can you play multiplayer between the two? If you download a 0.6.1 APK you can play multiplayer by opening a world on the Pi Edition and pressing Join Game on the Pocket Edition. Amazing!
TNT Trail!
Today on Minecraft Pi Edition I programmed a TNT trail. You walk around after the code has been ran, and TNT appears! Ignite some! Please note that not all the TNT is ignitable but the unignitable TNT still blows up when ignitable TNT blows up. Copy and paste the code into Geany (or your preferredContinue reading “TNT Trail!”