Develop a password security check module. The password will be considered strong enough if its length is greater than or equal to 10 symbols, it has at least one number, as well as containing one uppercase letter and one lowercase letter in it. def checkio(data): 'Return True if password strong and False if not' num = False upper = False lower = False for i in range(len(data)): num = num or data[i].isnumeric() upper = upper or data[i].isupper() lower = lower or data[i].islower() return num and upper and lower and len(data)>=10
It's time for every student to learn to codeBy Alice Steinglass May 14th, 2015 Learning to code is about more than career readiness. It’s about helping students make sense of their digital world Recently, there has been a lot of discussion around the importance of coding in the K-12 classroom. Should it be compulsory for all students?Popular Python recipesWelcome, guest | Sign In | My Account | Store | Cart ActiveState Code » Recipes Languages Tags Authors SetsCode & ConquerMost Important: Have Fun. And earn some badges. See how your strategy works out in different scenarios, challenge other players, receive points, earn badges and climb your way to the top of the leaderboard. Boost your coding skills.
Teaching Coding: Where Do You Start?EdSurge Newsletters Receive weekly emails on edtech products, companies, and events that matter. Soon after I wrote my last article on Edsurge “Where Does Tech-ed Belong in Edtech?,” advocating for the need for computer science education, there was a surprising amount of activity in this area--from President Obama’s interview to the much talked about Code.org video. The timing of my article was purely coincidence, though I wish I could say otherwise! Now that we are warming up to the idea that we must teach computer science or programming or “coding” in our schools, the next question is “Where do you start?”
For BeginnersWelcome! Are you completely new to programming? If not then we presume you will be looking for information about why and how to get started with Python.How to Use Photoshop: The Ultimate Photoshop Tutorial for BeginnersWhen you open Photoshop for the first time, it's easy to click around in confusion for a minute and then reach for your freelancer's phone number instead. Trust us, you're not alone in this. It's an incredibly powerful design software with a lot going on, including a wealth of tools that can seem overwhelming at times. But Photoshop isn't just for the professionals.
7 Apps for Teaching Children Coding SkillsIt's hard to imagine a single career that doesn't have a need for someone who can code. Everything that "just works" has some type of code that makes it run. Coding (a.k.a. programming) is all around us. That's why all the cool kids are coding . . . or should be.The "Invent with Python" Blog — Stop Using “print” for Debugging: A 5 Minute Quickstart Guide to Python’s logging ModuleThis tutorial is short.To figure out bugs in your code, you might put in print statements/print() calls to display the value of variables.Don’t do this. Use the Python logging module. The logging is better than printing because: It’s easy to put a timestamp in each message, which is very handy.You can have different levels of urgency for messages, and filter out less urgent messages.When you want to later find/remove log messages, you won’t get them confused for real print() calls.If you just print to a log file, it’s easy to leave the log function calls in and just ignore them when you don’t need them.