Python Classroom notes 31/Aug/2024

Lets solve Project euler 5

  • Refer Here for problem statement
  • Refer Here for solution
  • Debug this program by entering 4 as largest number

Dictionary

  • Dictionary is collection of key value pairs
  • Refer Here for examples
  • Refer Here for samples done in the class

Functions

  • Function is a reusable code block
  • We have already used print, type
  • syntax
def <function-name>(<args>):
    <block>
  • Example
def add(a,b):
    return a + b

Project euler problem 3

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube