Python Pioneers: A Beginner's Guide ๐ช๐น
Welcome to Python Pioneers: Empowering Ethiopian students to embark on their coding journey. ๐๐๐บ๏ธ๐ฑ๐ฅ๏ธ๐ป๐ฑ๏ธ๐ฐ๏ธ DM ๐ฉ : @Mntsnt_ZP Boost linkโก: https://t.me/boost/python_pioneers Resources : https://www.youtube.com/@pypioneers
Show more737
Subscribers
+124 hours
+187 days
+3830 days
- Subscribers
- Post coverage
- ER - engagement ratio
Data loading in progress...
Subscriber growth rate
Data loading in progress...
Photo unavailableShow in Telegram
Everyone Has a Story in Life
A 24 year old boy seeing out from the trainโs window shoutedโฆ
โDad, look the trees are going behind!โ
Dad smiled and a young couple sitting nearby, looked at the 24 year oldโs childish behavior with pity, suddenly he again exclaimedโฆ
โDad, look the clouds are running with us!โ
The couple couldnโt resist and said to the old manโฆ
โWhy donโt you take your son to a good doctor?โ The old man smiled and saidโฆโI did and we are just coming from the hospital, my son was blind from birth, he just got his eyes today.โ
Every single person on the planet has a story. Donโt judge people before you truly know them. The truth might surprise you.
แแแซแ แแฝแต!
#EnglishStory
@python_pioneers
@python_pioneers
โค 2
Photo unavailableShow in Telegram
Everyone Has a Story in Life
A 24 year old boy seeing out from the trainโs window shoutedโฆ
โDad, look the trees are going behind!โ
Dad smiled and a young couple sitting nearby, looked at the 24 year oldโs childish behavior with pity, suddenly he again exclaimedโฆ
โDad, look the clouds are running with us!โ
The couple couldnโt resist and said to the old manโฆ
โWhy donโt you take your son to a good doctor?โ The old man smiled and saidโฆโI did and we are just coming from the hospital, my son was blind from birth, he just got his eyes today.โ
Every single person on the planet has a story. Donโt judge people before you truly know them. The truth might surprise you.
แแแซแ แแฝแต!
#EnglishStory
@python_pioneers
@python_pioneers
The above Python code will print the string "hello world" ten times. Here's a breakdown of how it works:
1. The for loop is set to iterate over the range from 1 to 10 inclusive. The range(1, 11) function generates a sequence of numbers starting from 1 up to (but not including) 11.
2. On each iteration of the loop, the print('hello world') statement is executed.
Because the loop iterates 10 times, "hello world" will be printed 10 times, each on a new line.
Here is the code:
for i in range(1, 11):
print('hello world')
Output
hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world@python_pioneers
๐ 4โค 1
Photo unavailableShow in Telegram
Perceptive:
Two twin boys were raised by an alcoholic father. One grew up to be an alcoholic and when asked what happened, he said โI watched my father."
The other grew up and never drank in his life. When asked what happened, he said โI watched my father."
Two boys, same dad, two different perspectives.
Your perspective in life will determine your destination.
GOOD NIGHT!
@python_pioneers
@python_pioneers
โค 4๐ 2
๐Codes in some of the questions are not correctly indented, do them as they were!
๐Codes in some of the questions are not correctly indented, do them as they were!
5. Which of the following statements is true about the range function in Python?Anonymous voting
- a) It returns a list containing the specified range of elements
- b) It only accepts integer values as arguments
- c) It can be used to generate sequences of numbers for iteration
- d) It requires the use of a loop to print the values returned by the function.
4. In Python, what is the default step value for the range function if not specified?Anonymous voting
- a) 1
- b) 2
- c) 0
- d) The step value must always be specified
5. In Python, what is the default step value for the range function if not specified?Anonymous voting
- a) 1
- b) 2
- c) 0
- d) The step value must always be specified