Commit 61a73471 by ajil.k

errors corrected

parent 95a12046
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="bb693d69-f5a6-4645-8829-eaa5a6f92c0e" name="Changes" comment="updated"> <list default="true" id="bb693d69-f5a6-4645-8829-eaa5a6f92c0e" name="Changes" comment="updated">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
...@@ -21,13 +25,13 @@ ...@@ -21,13 +25,13 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"settings.editor.selected.configurable": "preferences.pluginManager" &quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;
} }
}]]></component> }</component>
<component name="RunManager"> <component name="RunManager">
<configuration name="main" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true"> <configuration name="main" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
<module name="SampleProject" /> <module name="SampleProject" />
...@@ -96,7 +100,28 @@ ...@@ -96,7 +100,28 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1673877322372</updated> <updated>1673877322372</updated>
</task> </task>
<option name="localTasksCounter" value="6" /> <task id="LOCAL-00006" summary="updated">
<created>1673930147712</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1673930147712</updated>
</task>
<task id="LOCAL-00007" summary="updated">
<created>1673930210222</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1673930210222</updated>
</task>
<task id="LOCAL-00008" summary="updated">
<created>1673930285004</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1673930285004</updated>
</task>
<option name="localTasksCounter" value="9" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
......
def add(n1, n2): def add(n1, n2):
sum = n1 + n2 sums = n1 + n2
print("Sum: ", sum) print("Sum: ", sums)
def subtract(n1, n2): def subtract(n1, n2):
...@@ -18,7 +18,7 @@ def divide(n1, n2): ...@@ -18,7 +18,7 @@ def divide(n1, n2):
print("Quotient: ", quotient) print("Quotient: ", quotient)
def moduloDivision(n1, n2): def mod(n1, n2):
remainder = n1 % n2 remainder = n1 % n2
print("Remainder: ", remainder) print("Remainder: ", remainder)
...@@ -39,4 +39,4 @@ while i == 1: ...@@ -39,4 +39,4 @@ while i == 1:
elif ch == 4: elif ch == 4:
divide(num1, num2) divide(num1, num2)
elif ch == 5: elif ch == 5:
moduloDivision(num1, num2) mod(num1, num2)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment