Skip to content
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

homework_6 - Елеева Анна #253

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/naumen.scala.course.2021.spring.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions homeworks/homework_1/task_1/console-output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
C:\Users\Anna>scala
Welcome to Scala 2.12.10 (Java HotSpot(TM) 64-Bit Server VM, Java 15.0.1).
Type in expressions for evaluation. Or try :help.

scala> val text = "Hello, Scala! This is Anna Eleeva"
text: String = Hello, Scala! This is Anna Eleeva

scala> val name = "Anna Eleeva"
name: String = Anna Eleeva

scala> println(text)
Hello, Scala! This is Anna Eleeva

scala> println(name)
Anna Eleeva

scala> println(text.replace("Hello", "Hi"))
Hi, Scala! This is Anna Eleeva

scala> val name_reversed = name.reverse
name_reversed: String = aveelE annA

scala> println(text.replace(name, name_reversed))
Hello, Scala! This is aveelE annA

scala> println(text.replace(name, name_reversed).replace("Hello","Gutten Tag"))
Gutten Tag, Scala! This is aveelE annA

scala>
1 change: 1 addition & 0 deletions homeworks/homework_1/task_2/scastie-url.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://scastie.scala-lang.org/Z70fuN71SxeB4ZN48RZ7vg
1 change: 1 addition & 0 deletions homeworks/homework_1/task_3/untitled1/.bsp/sbt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"sbt","version":"1.4.7","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["C:\\Users\\Anna\\.jdks\\corretto-1.8.0_275\\jre/bin/java","-Xms100m","-Xmx100m","-classpath","C:/Users/Anna/AppData/Roaming/JetBrains/IdeaIC2020.3/plugins/Scala/launcher/sbt-launch.jar","xsbt.boot.Boot","-bsp"]}
3 changes: 3 additions & 0 deletions homeworks/homework_1/task_3/untitled1/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions homeworks/homework_1/task_3/untitled1/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions homeworks/homework_1/task_3/untitled1/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading