This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Zahl: | |
| def __init__(self, n) -> None: | |
| self.n = n | |
| def teiler(self) -> iter: | |
| for i in range(1, self.n): | |
| if self.n % i == 0: | |
| yield i | |
| def ist_prim(self) -> bool: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Friedjof Noweck | |
| // 2021-10-30 Sat | |
| float potenzieren(int basis, int potenz); | |
| void float2string(float zahl, char* text); | |
| int stringLength(char* given_string); | |
| float absFloat(float value); | |
| int main() | |
| { |
NewerOlder