🐍 Python & Raspberry 🐍
8.21K subscribers
1.92K photos
125 videos
623 files
1.23K links
Python- Raspberry Pi-AI-IOT
ادمین : فرهاد ناصری زاده
@farhad_naserizadeh
@farhad3412

گروه پایتون
@Python_QA
تبادل
@mmtahmasbi
کانال مرتبط
@new_mathematical
@micropython_iot
@c_micro
اینستاگرام
http://Instagram.com/python_raspberry
Download Telegram
GNUradio_python_tutorial_20090609.pdf
160.1 KB
GNUradio Python Programming

🔰 @raspberry_python
Developing Games on the Raspberry Pi 👇

🌟جدید 2019🌟

🔰 @raspberry_python
Seth_Kenlon_Developing_Games_on.pdf
5.1 MB
Developing Games on the Raspberry Pi

🌟جدید 2019🌟

🔰 @raspberry_python
یلداتون مبارک🍉🍉🍉🍉🍓🍇🍌🍋🍊🥝🍅🍓🍉🍉🍉🍉🎸🎸
🔴 کانال پردازش سیگنال و هوش مصنوعی 👇
@AI_DSP
Rsync - Best Tool To Sync Files Between Devices (Mainly Servers)

🔺 https://kutt.it/3WAa3h
🔰 @raspberry_python
چندین کتاب در حوزه آموزش آردینو 👇

از طرف مهندس
@milad_ghasemi_1
Forwarded from Deleted Account
Arduino cookbook.pdf
5.9 MB
Forwarded from Deleted Account
Arduino Essentials.pdf
4.6 MB
Forwarded from Deleted Account
Arduino Workshop.pdf
6.8 MB
Forwarded from Deleted Account
C program for Arduino.pdf
9.5 MB
Forwarded from Deleted Account
Arduino_for_Dummies_John_Nussey.pdf
30.6 MB
#آموزش کار با لیست

lst = [0, 1, 2, 3, 4, 5, 6, 7, 8]

print(lst[2])
outpu : 2

print(lst[1:3])
outpu : [1, 2]

print(lst[:3])
outpu : [0, 1, 2]

print(lst[-3:])
outpu : [6, 7, 8]

print(lst[:-3])
outpu : [0, 1, 2, 3, 4, 5]

print(lst[:])
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8]

print(lst[1:-1])
outpu : [1, 2, 3, 4, 5, 6, 7]

print(lst[::3])
outpu : [0, 3, 6]

print(lst[1:5:2])
outpu : [1, 3]

print(max(lst))
outpu : 8

print(min(lst))
outpu : 0

lst.append(9)
print(lst)
outpu : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]


tmp = lst.pop()
print(tmp)
outpu : 9

lst.remove(8)
print(lst)
output : [0, 1, 2, 3, 4, 5, 6, 7]

print(lst)
outpu : [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]

print(lst.index(5))
output : 6

lst1 = [1, 2, 3]
lst2 = [4, 5, 6]
lst1.extend(lst2)
print(lst1)
output : [1, 2, 3, 4, 5, 6]

lst = [1, 2, 2, 2, 3, 4]
print(lst.count(2))
output : 3


lst = [1, [2, 3, 4, 5], 6, 7]
print(lst[1])
outpu : [2, 3, 4, 5]

print(lst[1][3])
outpu : 5

با تشکر از

@milad_ghasemi_1


🔰 @raspberry_python