[

  Рет қаралды 93

SoftwareTube

SoftwareTube

4 ай бұрын

[#085] Assignment 4 Strings in Python Question 2 - تعلم بايثون و برمجة بالعربي مجاناً
Pascal’s triangle:
Write a program that displays Pascal’s triangle with n rows, where n is a user-prompted strictly positive integer.
Algorithm:
You must use a list of n lists to generate and store the triangle. For instance, the triangle with:
3 rows is stored as [ [1], [1, 1], [1, 2, 1] ]
the triangle with 4 rows is stored as [ [1], [1, 1], [1, 2, 1], [1, 3, 3, 1] ]
etc …
To generate the ith row, you must use the sum property i.e. a number is the sum of the two that are above it, as shown in the referenced page.
Print the triangle with the columns left aligned of fixed width.
دعم القناة بمبلغ بسيط شهري ما يعادل ٥٠ جنيهاَ مقابل خدمات بسطة مما سيساعد على الاستمرار و التطوير ❤️☺️
/ @softwaretube
او من خلال www.buymeacoffee.com/Software...
----------------------------------------------------------------------------------------------------
و ده لينك ال playlist للكورس
• كورس البرمجه و البايثو...
و رأيك او سؤالك يهمني جدا تسيبه في comment :D
#python
#programming
#problemsolving
#pythonprogramming
#turtle
#برمجة
#بايثون
تعلم البرمجة
كيف اتعلم البرمجة
البرمجة
ما هي البرمجة
صناعة تطبيقات
تعلم البرمجة من الصفر
أفضل طريقة لتعلم البرمجة
python
learn python
تعلم python
learn programming
تعلم بايثون
python tutorial
python for beginners
python tutorial for beginners
بايثون
python basics
python course
python full course
python programming
getting started with python
learn python programming
تعلم بايثون من الصفر,تعلم لغات البرمجة
شرح python
Software tube
python crash course
بايثون بالعربي
بايثون للمبتدئين Linkedin: / mohammed-elsayed-mohammed
Email: mohammed.elsayed.abdelrahem@gmail.com
Facebook: / softwaretubech #programming
#python
#pythonprogramming
#turtle
#بايثون
#برمجة
#programming_basics
#اساسيات_البرمجة
#embedded_systems
#embeddedsoftware
#embedded_system
#operatingsystem
#operating_system
#operatingsystemvideos
#operatingsystem
#operatingsystemlectures
#designpatterns
#design_patterns
#oop
#objectorientedprogramming
#cplusplusprogramming
#cplusplustutorial
#cprogramming
#c_programming
#java
#java_script
#php
#html
#css
#computerscience
#computereducation
#computerengineering
#informationtechnology
#technologynews
#networkengineering
#avr
#arduino
#tivac
#stm32
#arm_microcontroller
#assembly
Linkedin: / mohammed-elsayed-mohammed
Email: mohammed.elsayed.abdelrahem@gmail.com
Facebook: / softwaretubech

Пікірлер
حل سؤال من شركة Apple Part 4
29:23
Sami Sh
Рет қаралды 5 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 19 МЛН
عبدالله الشريف | ما ترحل ياعم🤬
10:22
عبودا
Рет қаралды 619 М.
للأسف تأكدنا من تسريب امتحان الكيمياء
16:27
Clicks чехол-клавиатура для iPhone ⌨️
0:59
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 3 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 984 М.