Перейти к содержимому

Simple Python programs 15 - for class 11 cbse computer science students.

K Sunil Kumar - KTechGlobal

0:00 / 0:00

Simple Python programs 15 - for class 11 cbse computer science students.

34 просмотра · 1 мес. назад
K Sunil Kumar - KTechGlobal
812 подписчиков
34 просмотра · 1 мес. назад
1.Calculate total sum and sum of non-duplicate (unique) numbers among 3 inputs 2.Check whether a given number is odd or even 3.Simple arithmetic calculator based on user choice of operator 4.Calculate student grade based on marks 5.Sort and print 3 numbers in ascending order 6.Print progressive sum of natural numbers from 1 to 7 7.Print even numbers between 2 and 10 8.Print odd numbers between 1 and 10 9.Print multiplication table of 6 10.Calculate sum of natural numbers from 1 to 7 11.Calculate factorial of a number using a for loop 12.Calculate sum of even and odd numbers up to N using a for loop 13.Demonstrate break statement in a loop 14.Demonstrate continue statement in a loop 15.Calculate hypotenuse length using the Pythagorean theorem