25 lines
278 B
Python
25 lines
278 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Created on Fri Oct 1 10:42:13 2021
|
|
|
|
@author: Joschka
|
|
"""
|
|
import numpy as np
|
|
|
|
a = np.ones(50)
|
|
|
|
for i in range(0,len(a)):
|
|
a[i] *= i
|
|
|
|
print(a)
|
|
|
|
print(a[:5])
|
|
print(a[5:])
|
|
print(a[:-5])
|
|
|
|
print(10e-3/13.7)
|
|
|
|
a = 7
|
|
|
|
if (a == (7 or 3)):
|
|
print("true") |