-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Klepalova Anastasija Aleksandrovna var 8 #114
Open
klepalovanastya
wants to merge
10
commits into
ISUCT:Klepalova_Anastasija_Aleksandrovna
Choose a base branch
from
klepalovanastya:Klepalova_Anastasija_Aleksandrovna
base: Klepalova_Anastasija_Aleksandrovna
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fea3a25
Create lab.py
klepalovanastya 7813c3e
first commit
klepalovanastya 6a02cbf
Create cftfgtft.py
klepalovanastya bebea83
labvar8
klepalovanastya 770d472
var8laba
klepalovanastya bb674bb
lab(tablitsa)
klepalovanastya 902c966
лаброторная
klepalovanastya 7699635
Delete lab.py
klepalovanastya 385eb03
Delete cftfgtft.py
klepalovanastya b232cfd
Delete main.py
klepalovanastya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
||
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
def summ(a: int, b: int) -> int: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. либо вернуть эту функцию - либо удалить тесты |
||
return a + b | ||
# A | ||
|
||
import math | ||
|
||
if __name__ == "__main__": | ||
print("Hello world") | ||
print(summ(3, 4)) | ||
|
||
def y(x): | ||
c = (b ** 3 + (math.sin(a * x)) ** 2) | ||
d = (math.acos(x * b * x) + e ** (-x / 2)) | ||
y = c / d | ||
return y | ||
|
||
|
||
x = 0.7 | ||
while x < 2.2: | ||
a = 1.2 | ||
b = 0.48 | ||
e = 2.7 | ||
print(y(x)) | ||
x += 0.3 | ||
|
||
# B | ||
B = [0.25, 0.36, 0.56, 0.94, 1.28] | ||
a = 1.2 | ||
b = 0.48 | ||
e = 2.7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Переносите задачи в функции |
||
for x in B: | ||
print(y(x)) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
удалите левые файлы
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
git rm