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 comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%