Skip to content

Commit 694d188

Browse files
author
GeekTrainer
committed
Module 7
1 parent 8e28688 commit 694d188

File tree

3 files changed

+100
-0
lines changed

3 files changed

+100
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.30723.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "ComplexIfStatements", "ComplexIfStatements\ComplexIfStatements.pyproj", "{C5AAA57E-C878-4350-842A-B7C1BD5FCABC}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{C5AAA57E-C878-4350-842A-B7C1BD5FCABC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{C5AAA57E-C878-4350-842A-B7C1BD5FCABC}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
team = input('Enter your favorite hockey team: ').upper()
2+
sport = input('Enter your favorite sport: ').upper()
3+
4+
if sport == 'HOCKEY':
5+
print('Go hockey!!')
6+
if team == 'SENATORS':
7+
print('Good luck getting to the cup')
8+
print('We do love hockey!!')
9+
10+
#sportIsHockey = False
11+
#if sport == 'HOCKEY':
12+
# sportIsHockey = True
13+
14+
#teamIsCorrect = False
15+
#if team == 'SENATORS' or team == 'LEAFS':
16+
# teamIsCorrect = True
17+
18+
#if sportIsHockey and teamIsCorrect:
19+
# print('Good luck getting to the cup this year')
20+
21+
##If the sport is hockey, and the team is the senators or leafs, display the cup message
22+
#if sport == 'HOCKEY' and (team == 'SENATORS' or team == 'LEAFS'):
23+
# print('Good luck getting to the cup this year')
24+
25+
#if sport == 'HOCKEY' and team == 'RANGERS':
26+
# print('I miss Messier')
27+
#elif team == 'LEAFS' or team == 'SENATORS':
28+
# print('Good luck getting the cup this year')
29+
#else:
30+
# print('I don\'t know that team')
31+
32+
#if team == 'FLYERS':
33+
# print('Best team ever!!')
34+
#elif team == 'SENATORS':
35+
# print('Go Sens Go!')
36+
#elif team == 'RANGERS':
37+
# print('Go Rangers')
38+
#else:
39+
# print('I don\'t have anything clever to say here')
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<SchemaVersion>2.0</SchemaVersion>
6+
<ProjectGuid>c5aaa57e-c878-4350-842a-b7c1bd5fcabc</ProjectGuid>
7+
<ProjectHome>.</ProjectHome>
8+
<StartupFile>ComplexIfStatements.py</StartupFile>
9+
<SearchPath>
10+
</SearchPath>
11+
<WorkingDirectory>.</WorkingDirectory>
12+
<OutputPath>.</OutputPath>
13+
<Name>ComplexIfStatements</Name>
14+
<RootNamespace>ComplexIfStatements</RootNamespace>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21+
<DebugSymbols>true</DebugSymbols>
22+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
23+
</PropertyGroup>
24+
<ItemGroup>
25+
<Compile Include="ComplexIfStatements.py" />
26+
</ItemGroup>
27+
<PropertyGroup>
28+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
29+
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
30+
</PropertyGroup>
31+
<Import Condition="Exists($(PtvsTargetsFile))" Project="$(PtvsTargetsFile)" />
32+
<Import Condition="!Exists($(PtvsTargetsFile))" Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
33+
<!-- Uncomment the CoreCompile target to enable the Build command in
34+
Visual Studio and specify your pre- and post-build commands in
35+
the BeforeBuild and AfterBuild targets below. -->
36+
<!--<Target Name="CoreCompile" />-->
37+
<Target Name="BeforeBuild">
38+
</Target>
39+
<Target Name="AfterBuild">
40+
</Target>
41+
</Project>

0 commit comments

Comments
 (0)