EErrorLessindiwashblogs.hashnode.dev·Apr 18, 2022 · 1 min readSwift 5 BasicsPrint statement in swift 5 In swift, the print statement is just like that of python, if you have used python before... Quick question, complete the following sentence... var height = 30 print("The tree is ......... m tall.") How will you insert th...00
EErrorLessindiwashblogs.hashnode.dev·Apr 11, 2022 · 2 min readModules in python 3Modules Modules are pieces of code that other people have written to fulfill common tasks, such as generating random numbers, performing mathematical operations, etc. The basic way to use a module is to add import module_name at the top of your code...00
EErrorLessindiwashblogs.hashnode.dev·Apr 11, 2022 · 1 min readCode virus in Python 3Disclamer ⚠ This is not a literal virus that harms or infects any computers! We will be using the turtle to achieve our goal! If you want to get a quick glance of code and the outcome : **YOUTUBE WALKTHROUGH:** https://youtu.be/D...00
EErrorLessindiwashblogs.hashnode.dev·Apr 4, 2022 · 1 min readif Statements in python 3Day 4 if Statements With If statements, if the condition evaluates to True, the statements are carried out. Otherwise, they aren't carried out. An if statement looks like this: One Simple Example: Output : Ok, but when is life ever that simple? S...00
EErrorLessindiwashblogs.hashnode.dev·Apr 1, 2022 · 1 min readControl flow in python 3.Day 3 Booleans : Booleans can have two values: True and False. We can create them by comparing values, for instance by using the equal operator == like this: --> Prints 'The value is true' ### Comparison : It’s not just the equal operator (==) that...00