🌚2
code out put question for beginner(A1) print("Hello, World!")
Anonymous Quiz
31%
Hello World!
9%
Hello World!
12%
"Hello, World! "
48%
Hello, World!
for i in range(1, 6):
print(i)
print(i)
Anonymous Quiz
3%
0,1,2,3,4,5,6
60%
1,2,3,4,5,
15%
0,1,2,3,4,5,
22%
1,2,3,4,5,6
Leetcode with dani
for i in range(1, 6):
print(i)
print(i)
it's not for beginners
numbers = [2, 4, 6, 8]
sum = 0
for number in numbers: sum += number print(sum) : for A2 members (not beginner)
sum = 0
for number in numbers: sum += number print(sum) : for A2 members (not beginner)
Anonymous Quiz
8%
16
20%
24
73%
20
def x(head):
current = head
new_head = None
while current:
next_node = current.next
current.next = new_head
new_head = current
current = next_node
print( new_head ) x([1,2,3]) :what is the output?comment below.
current = head
new_head = None
while current:
next_node = current.next
current.next = new_head
new_head = current
current = next_node
print( new_head ) x([1,2,3]) :what is the output?comment below.
def find_x(numbers):
sorted_numbers = sorted(numbers)
x_index = len(sorted_numbers) // 2
if len(sorted_numbers) % 2 == 0:
x = (sorted_numbers[x_index] + sorted_numbers[x_index - 1]) / 2
else:
x = sorted_numbers[median_index]
print( x) find_x([1,2,1,3,4,3,1,5,6,4,5,6,7,8,6,4]) :what is the output?comment below.
sorted_numbers = sorted(numbers)
x_index = len(sorted_numbers) // 2
if len(sorted_numbers) % 2 == 0:
x = (sorted_numbers[x_index] + sorted_numbers[x_index - 1]) / 2
else:
x = sorted_numbers[median_index]
print( x) find_x([1,2,1,3,4,3,1,5,6,4,5,6,7,8,6,4]) :what is the output?comment below.
👍1
Variables and Simple Data Types
In Python, you can store different types of data using variables. Variables are like containers that hold information.
Running a Python Program
When you run a Python program, the Python interpreter reads through the code and executes it line by line.
Syntax Highlighting
Your editor uses different colors to highlight different parts of your Python code, making it easier to read and understand.
Using Variables
Variables allow you to store and retrieve information in your programs. They have names and values.
Changing Variable Values
You can change the value of a variable at any time in your program.
Variable Naming Rules
Follow these rules when naming variables:
Use only letters, numbers, and underscores
No spaces, use underscores to separate words
Avoid Python keywords and function names
Use short but denoscriptive names
Be Careful with l and O
The lowercase letter l and the uppercase letter O can be confused with the numbers 1 and 0.
In Python, you can store different types of data using variables. Variables are like containers that hold information.
Running a Python Program
When you run a Python program, the Python interpreter reads through the code and executes it line by line.
Syntax Highlighting
Your editor uses different colors to highlight different parts of your Python code, making it easier to read and understand.
Using Variables
Variables allow you to store and retrieve information in your programs. They have names and values.
Changing Variable Values
You can change the value of a variable at any time in your program.
Variable Naming Rules
Follow these rules when naming variables:
Use only letters, numbers, and underscores
No spaces, use underscores to separate words
Avoid Python keywords and function names
Use short but denoscriptive names
Be Careful with l and O
The lowercase letter l and the uppercase letter O can be confused with the numbers 1 and 0.
Embark on Your Python Coding Journey with Our VIP Program!
🚀 Learn Python for FREE for 15 Days!
Python is one of the most popular and versatile programming languages in the world, used for a wide range of applications, from web development to data science to machine learning.
With our VIP program, you can embark on your Python coding journey today and start learning for FREE for 15 days.
What you'll learn :
👨💻 The Basics of Python
Variables and data types
Lists and list operations
If statements and decision-making
User input and output
Loops for repetitive tasks
Functions for modularity
🚀 Hands-on Coding Practice
Engage in interactive coding exercises
Get real-time feedback and guidance
Solidify your understanding with practical examples
🎉 Build Your First Python Program
Apply your newfound skills to create a simple Python program
Experience the satisfaction of building something from scratch
Take your first step towards becoming a Python developer
📈 Comprehensive Python Training
Over 20 hours of video instruction led by experienced Python experts
Deep dive into core Python concepts and advanced techniques
Gain mastery of Python programming through practical exercises
🎮 Exciting Python Projects
Build engaging and challenging Python games like Alien Invaders and Flappy Bird
Apply your Python knowledge to create real-world applications
Showcase your skills and impress potential employers
💯 Master Object-Oriented Programming
Delve into object-oriented programming principles
Design and implement complex Python applications
Enhance your programming skills with object-oriented concepts
📂 File Handling and Exception Management
Learn to work with files and directories effectively
Handle errors and exceptions gracefully
Ensure your Python programs are robust and reliable
🎓 Launch Your Python Developer Career
Gain the skills and knowledge to confidently pursue a career in Python development
Build a strong foundation for further advancement in the programming world
Open doors to exciting opportunities in the tech industry
Don't miss out on this incredible opportunity to learn Python for FREE!
Sign up for our VIP program today and start your Python coding journey!
After your 15-day free trial, if you're satisfied you can pay and continue
Limited Spots Available - Enroll Now!
🚀 Learn Python for FREE for 15 Days!
Python is one of the most popular and versatile programming languages in the world, used for a wide range of applications, from web development to data science to machine learning.
With our VIP program, you can embark on your Python coding journey today and start learning for FREE for 15 days.
What you'll learn :
👨💻 The Basics of Python
Variables and data types
Lists and list operations
If statements and decision-making
User input and output
Loops for repetitive tasks
Functions for modularity
🚀 Hands-on Coding Practice
Engage in interactive coding exercises
Get real-time feedback and guidance
Solidify your understanding with practical examples
🎉 Build Your First Python Program
Apply your newfound skills to create a simple Python program
Experience the satisfaction of building something from scratch
Take your first step towards becoming a Python developer
📈 Comprehensive Python Training
Over 20 hours of video instruction led by experienced Python experts
Deep dive into core Python concepts and advanced techniques
Gain mastery of Python programming through practical exercises
🎮 Exciting Python Projects
Build engaging and challenging Python games like Alien Invaders and Flappy Bird
Apply your Python knowledge to create real-world applications
Showcase your skills and impress potential employers
💯 Master Object-Oriented Programming
Delve into object-oriented programming principles
Design and implement complex Python applications
Enhance your programming skills with object-oriented concepts
📂 File Handling and Exception Management
Learn to work with files and directories effectively
Handle errors and exceptions gracefully
Ensure your Python programs are robust and reliable
🎓 Launch Your Python Developer Career
Gain the skills and knowledge to confidently pursue a career in Python development
Build a strong foundation for further advancement in the programming world
Open doors to exciting opportunities in the tech industry
Don't miss out on this incredible opportunity to learn Python for FREE!
Sign up for our VIP program today and start your Python coding journey!
After your 15-day free trial, if you're satisfied you can pay and continue
Limited Spots Available - Enroll Now!
👍5
Leetcode with dani
Embark on Your Python Coding Journey with Our VIP Program! 🚀 Learn Python for FREE for 15 Days! Python is one of the most popular and versatile programming languages in the world, used for a wide range of applications, from web development to data science…
our class will begin on December 11, 2023
Leetcode with dani pinned «Variables and Simple Data Types In Python, you can store different types of data using variables. Variables are like containers that hold information. Running a Python Program When you run a Python program, the Python interpreter reads through the code…»
Forwarded from Jiru B.Gutema
i wrote sth on the group few weeks ago about ur channels like, how it helped me while i was taking #python as a common course. the only thing i can say here is that you are just, like 'life savior' imagine, i had no any ideas about coding when i was about to start the course. there was my dude too. then, i got 'A', he got 'b-'.
the only difference is ur effort on my activity and what i wrote u there then.
for vip channel, just i have no word for that, like, how it is organized, simple to access, very useful. plus the classification u did there. we all know that this is ur beginning and there are also a lot to do on it. what i have as advice for u is, just 'let ur works has consistency'.
what if you create python channels for beginner, intermediate, and advanced separately, while keeping the original one as main. then it would be super easier to go through with ur students and also easier for managing.
finally, i would like to thank u from the bottom of my heart.
the only difference is ur effort on my activity and what i wrote u there then.
for vip channel, just i have no word for that, like, how it is organized, simple to access, very useful. plus the classification u did there. we all know that this is ur beginning and there are also a lot to do on it. what i have as advice for u is, just 'let ur works has consistency'.
what if you create python channels for beginner, intermediate, and advanced separately, while keeping the original one as main. then it would be super easier to go through with ur students and also easier for managing.
finally, i would like to thank u from the bottom of my heart.
❤5🔥3
Leetcode with dani
i wrote sth on the group few weeks ago about ur channels like, how it helped me while i was taking #python as a common course. the only thing i can say here is that you are just, like 'life savior' imagine, i had no any ideas about coding when i was about…
This message was sent by a member of our group and I am very happy to see it.
❤4
Leetcode with dani
https://news.1rj.ru/str/+UZEkdemKsQ8zMzA8
Please join the group i created two groups one for beginners and the other one is for intermediates