+ 1
I am beginner in python and also in programming. What can i do?
5 Answers
+ 2
Try to solve real life problems.. Everything starts with a how...
And also finish the courses here.. They are amazing.
+ 3
SL tutorials.
+ 1
If you need more questions the send me a message, I will send you.
0
I can try
0
Learn the basics and practice it.
Questions to practice:
1. Write a Python program to print the following string in a specific format (see the output).
Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder what you are" Output : Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder what you are
Hint: ** You will need to find out syntax for "next line" and tab.
2. Write a program that reads an integer and outputs its last digit.
Sample Input 1: 425
Sample Output 1: 5Â Â
Hint: ** You can either use one of the arithmetic operators we used in the class or the character position (example: name[0])
3. Write a Python program to calculate the sum of the digits of a two digit integer. Get the number inputted by the user.