Extend it:
Whatever you might have heard people say about programmers, programming can be a really creative thing: You get to write code that can do absolutely anything. You can get a computer to do and say whatever you want it to so you can create something that nobody’s ever created before or improve something that someone’s done already.
Here are three suggestions for challenges to work on in order to practise outputting text using the print function in python.
Challenges:
You don’t need to do all of these challenges: just choose one.
If you can think of a more creative thing to do – go for it – as long as you use print at least 5 times and don’t have any error messages.
- Write code that outputs the lines of your favourite song
Why not write a new verse or improve the lyrics to make it more personal to you?
- Write code that tells 5 different jokes
Try to think of at least one joke yourself
- Write code that tells a short bedtime story for kids
A good story has a start, a middle and an end. You want it to be interesting but not to scary…
Page 1: Intro
Page 2: The theory: learn what you need to know as fast as possible.
Page 3: Try it: try out and adapt some working python code snippets.
Page 4: Debug it: Learn how to find and fix common mistakes.
Page 5: Extend it: Choose a project idea to use your newfound python skills.
it was amazing
cool
the work was really cool
Nice post! Thanks for sharing.
nice
VERY USEFUL 🙂 XXXXXX
Thank you so much for removing the Google Adverts and your swift response. Do you have somewhere dontations can be made or similar to make up for the lost revenue, I’d throw in a least a cup of coffee…
You’re welcome. That’s a very kind offer but don’t worry about it – I’ll switch to a different ad provider that doesn’t show such intrusive ads or gives more control over where they’re placed. Look after yourself – all the best for this new lockdown.
Thanks, I think it’s wonderful.
this really helped me with my python experience. I hope everyone can see this.:)
So much help with this subject
i love this work thanks 🙂