Hello, here is my code for this WSQ –Babylonian Method to calculate the square root of a number using the Babylonian method. Github: https://github.com/pololarinette/TC-1014/blob/master/%23WSQ13 Have a nice day 🙂
Hello, here is my code for this WSQ – Greatest Common Divisor to calculate the greatest common denominator of two positive integers using Euclid’s algorithm. Github: https://github.com/pololarinette/TC-1014/blob/master/%23WSQ12
Hey today we are going to learn how to create and use user input in Pythons 3 : creating and use user input #Mastery28
Hey today we are going to learn how to create and use dictionaries in Pythons 3 : creating dictionaries and use #Mastery27
Hey today we are going to learn how to create and use ranges in Pythons 3 : creating and using ranges #Mastery25
Hi, Here is my code to create a dictionary. First you have to create your dictionary by using the dict( ) method. So you can see that it’s not a good way to use dict as a variable because this word is reserved. Then you can match a key and a value. A dictionary is […]
Hi,
Here is my code to create a string and display it !
First you create your string and then you can display the letter that you want !
Have a good day 🙂
Hi,
Today I want to show you how it’s possible to create a list in python.
First you can create an empty list. The syntaxe to create a list is : [ ]
Then, you can call the append method to add some values in your list.
Have a good day !
Hi, Here is my program to look for the lychrel numbers. I put some comments of my code to get it more easily !!! Have a good night ! Yo Soy 196 ! #WSQ11 #TC101 pic.twitter.com/8TIg5tZjjL — Aurélie Martinet (@AMartinet14) October 29, 2015
Hi, Here is a program which called fibonacci function. I used the recursion concept. We can see that the function called itself with another parameter. This method has the same impact that create a for loop but it’s really faster. Have a good day !