Let us take a simple program in Python to appreciate the language. We will take the date of birth as user input, then we will add all the digits in the date to a single digit and then we will show the Numerology Life path according to the number.
Enter the date of birth inside the black panel, without using any separators like dash or slashes.
If you want to download the program on your computer, click on the arrow at the left bottom of the first panel in the compiler below.
We have defined a function named Add_numbers(dob) in the beginning of the program. dob is the parameter that the function takes. We will collect the dob as an integer from the user at line 20
dob = int(input())
We will collect the output of the function in a new variable named final_answer and use a if -elif-else construct to print different messages for the value of the final_answer between 1 and 9
An Introduction to Creating Games in Scratch for ICSE Class 6 Hello friends, I hope you have already read the previous post on An Int...
ICSE Class 5 Computer Studies This lesson will give students a brief introduction to Scratch programming. I am using Scratch3...
In this hour of code exercise "Code with Anna and Elsa" you will learn to draw different geomoetric shapes on ice. There are a ...
This blog post is created to support the students taking up the Code Studio courses on Code.org. I have tried to create an answer sheet for ...