Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math;
- start = int(input("Gib einen Startwert an in Grad: "));
- end = int(input("Und einen Endwert: "));
- schritt = int(input("Und die Schrittweite: "));
- def printSin(start, end, schritt):
- for i in range(start, end, schritt):
- rad = math.radians(i);
- result = math.sin(rad);
- print(round(result,3));
- printSin(start, end, schritt);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement