TGViewer
پایتون | Data Science | Machine Learning پایتون | Data Science | Machine Learning @python4all_pro · 24.2K subscribers
Post #392 3.94K
Pattern 20

n = 7
for i in range(1, n+1):
if i % 2 == 0:
print(i**2, end=" ")
else:
print("*", end=" ")



#code #pattern

🆔 @Python4all_pro
  • 👍 1
  • 😍 1
More from @python4all_pro
  1. Oct 5, 2026🚀 نقشه راه ورود به بازار فریلنسینگ بین‌المللی طراح، برنامه‌نویس، دیزاینر یا تولیدکننده مح…
  2. Oct 4, 2026‌🔴 خبر فوری — انتخاب رشته هوشمند و رایگان با «مسیر» 🔥 «مسیر» نرم‌افزار هوشمند و کاملاً ر…
  3. Oct 3, 2026🟣کتاب Oxford word skills یک بار جایزه بهترین کتاب آموزش زبان انگلیسی سال را دریافت کرده.…
  4. Oct 2, 2026💥 ۲۰۰ هزار تومان تخفیفِ بیشتر علاوه بر تخفیفِ ۷۵ درصدی موجود در سایت | اشتراک یک ساله فرا…
  5. Sep 29, 2026What better way to understand a powerful tool like Claude Code than to build your own vers…
  6. Sep 28, 2026🧨 ۲۰۰ آموزش جدید دیگر، جایگزین آموزش‌های قبلی شد... 💯 ۴۰۰+۲۰۰ آموزش در فرادرس، هر آموزش…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →