GithubHelp home page GithubHelp logo

saikishor164 / python-for-kids Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devopediaorg/python-for-kids

2.0 0.0 0.0 11.71 MB

Meant for kids aged 10-16. Less about Python syntax and more about inspiring kids towards programming.

License: MIT License

Python 90.04% Jupyter Notebook 9.96%

python-for-kids's Introduction

for i in range(1, 11): print(i)

squares = [i**2 for i in range(1, 11)]
print(squares)

length = len("Hello, World!")
print(length)

count = [1, 1, 2, 3, 3, 3].count(3)
print(count)

total_sum = sum([1, 2, 3, 4, 5])
print(total_sum)

reversed_str = "Hello, World!"[::-1]
print(reversed_str)

unique_list = list(set([1, 2, 2, 3, 3, 4]))
print(unique_list)

import math
factorial = math.factorial(5)
print(factorial)

all_positive = all(num > 0 for num in [1, 2, 3, 4, 5, 5, 5, 6)
print(all_positive)

python-for-kids's People

Contributors

arvindpdmn avatar saikishor164 avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.