CYB 130 Week 1 Conditional and Variables

0 items
CYB 130 Week 1 Conditional and Variables
CYB 130 Week 1 Conditional and Variables
$7.00
  • Description

CYB 130 Week 1 Conditional and Variables

Write a Python script that determines the highest day temp and highest night temp of the following variables:

day1Temp = 78

day2Temp = 84

day3Temp = 98

night1Temp = 55

night2Temp = 45

night3Temp = 34

Use conditional statements to print out these results:

(‘Day 3 has high temp of: ‘, 98)

(‘Day 1 has high temp of: ‘, 55)

Submit your code copied and pasted into a document and include a screen shot of your code working on your own computer system.

 

Submit your assignment using the Assignment Files tab.