Python classroom Notes 1/May/2024
Direct DevOps Blog
by continuous learner
20h ago
The post Python classroom Notes 1/May/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python classroom Notes – 30/Apr/2024
Direct DevOps Blog
by continuous learner
2d ago
The post Python classroom Notes – 30/Apr/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python Classroom Notes 28/April/2024
Direct DevOps Blog
by continuous learner
3d ago
The post Python Classroom Notes 28/April/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python workshop 26/April/2024
Direct DevOps Blog
by continuous learner
6d ago
Python workshop Problem 1: Definition: I need a list a leap years given the start and end year according to gregorian calender additional notes 2000: yes 2100: no 1996: yes Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400. For example, the years 1700, 1800, and 1900 are not leap years, but the years 1600 and 2000 write a function def leap_years(start, end): """ This function returns a list of leap years Arguments: start (int ..read more
Visit website
Python Classroom Notes 25/April/2024
Direct DevOps Blog
by continuous learner
1w ago
The post Python Classroom Notes 25/April/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python classroom Notes – 23/April/24
Direct DevOps Blog
by continuous learner
1w ago
The post Python classroom Notes – 23/April/24 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python classroom Notes 21/Apr/2024
Direct DevOps Blog
by continuous learner
1w ago
The post Python classroom Notes 21/Apr/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python Classroom Notes 21/April/2024
Direct DevOps Blog
by continuous learner
1w ago
The post Python Classroom Notes 21/April/2024 first appeared on Direct DevOps from Quality Thought ..read more
Visit website
Python Classroom Notes 20/April/2024
Direct DevOps Blog
by continuous learner
1w ago
Functions Function is a reusable block of code Syntax def <name_of_function>(arg1, arg2...): ... ... ... return <value> Lets write a function to determine if the number is even or odd: return True if the number is even, False otherwise if the number is prime or not return True if the number is prime, False otherwise Refer Here for functions demonstrations Lists in python Refer Here for list examples Refer Here or few activities done on list Docstring Refer Here for docstring Refer Here for Google python styling guide references: Useful packages ..read more
Visit website
Python Classroom Notes – 19/April/2024
Direct DevOps Blog
by continuous learner
1w ago
loops Refer Here for loops in python or Refer Here. while while "<expression>": body.. ... ... while executes the body as long as expression is true Project euler problem 1 using while index = 1 sum = 0 while index < 10: if index%3 == 0 or index%5 == 0: sum += index index += 1 print(sum) For: Refer Here for item in <collection/sequence>: body Lets learn a python function to generate numerical sequence Refer Here for loops program Refer Here for project euler problem 2 solution The post Python Classroom Notes – 19/April/2024 ..read more
Visit website

Follow Direct DevOps Blog on FeedSpot

Continue with Google
Continue with Apple
OR