Python
Python is a high-level programming language designed to be easy to read and
simple to implement. It is open source, which means it is free to use, even
for commercial applications. Python can run on Mac, Windows, and Unix
systems and has also been ported to Java and .NET virtual machines.
Your welcome fellow coder :)
4.33
37
Y
.-^-.
/ \ .- ~ ~ -.
() () / _ _ `. _ _ _
\_ _/ / / \ \ . ~ _ _ ~ .
| | / / \ \ .' .~ ~-. `.
| | / / ) ) / / `.`.
\ \_ _/ / / / / / `'
\_ _ _.' / / ( (
/ / \ \
/ / \ \
/ / ) )
( ( / /
`. `. .' /
`. ~ - - - - ~ .'
~ . _ _ _ _ . ~
Thank you!
37
0
4.1
8
'''Python is an interpreted, high-level and general-purpose programming
language.Python's design philosophy emphasizes code readability with its
notable use of significant whitespace. '''
#Examples
print("Hello World")
repeat = 5
for i in range(repeat):
print("This is the %i iteration" % i)
#2nd variation - print("This is the " + i + "iteration")
#3rd variation - print(f"This is the {i!r} iteration")
#4th variation - print(("This is the {} iteration).format(i))
import random #In order to use the random functions
class Person:
def __init__(self, name, age, height):
self.name = str(name)
self.age = int(age)
self.height = str(height)
person1 = Person("Name", random.randint(1, 100), str(random.randint(0, 7)) + "'" + str(random.randint(0, 11)) + '"')
print(f"Your name is {person1.name} and you are {person1.age} years old. You are also {person1.height}.")
Thank you!
8
0
0
0
best programming language
Thank you!
0
0
3.75
4
Python is an interpreted, high-level,
general-purpose programming language.
//as you can also see to your right --------------------->
but also note interpreted, not compiled.
Thank you!
4
0
0
0
from _future_ import print_function
import matplotlib.pyplot as plt
import os
import sys
import re
import gc
# Selection of features following "Writing mathematical expresion"tutorial
mathtext_tiles = {
0: "Header demo"
1: "Subscripts and superscripts"
2: "Fraction ,bionomals and stacked numbers"
3: "radicals"
4: "Fonts"
5: "Accents"
6: "Greek Herbew"
7: "Delimeters, functions and symbols"}
n_lines = len(mathtext_titles)
Thank you!
0
0
3.4
5
Here is a basic Python function print('Hello')
Thank you!
5
0
4
5
if you want to download python use https://www.python.org/downloads/
Thank you!
5
0
0
2
hey!!!
Thank you!
2
0
4.67
3
Great choice, great language, have fun coding!
Thank you!
3
0
Are there any code examples left?
New code examples in category Other