CHALLENGE ACTIVITY 8.3.3: Hourly temperature reporting.   Write a loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces. Sample output for the given program with input: '90 92 94 95'90 -> 92 -> 94 -> 95 Note: 95 is followed by a space, then a newline.   Use Python, please.

CMPTR
3rd Edition
ISBN:9781337681872
Author:PINARD
Publisher:PINARD
Chapter13: Creating A Workbook
Section: Chapter Questions
Problem 8QY
icon
Related questions
Question
CHALLENGE ACTIVITY
8.3.3: Hourly temperature reporting.
 
Write a loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces.

Sample output for the given program with input: '90 92 94 95'90 -> 92 -> 94 -> 95 Note: 95 is followed by a space, then a newline.
 
Use Python, please.
44614.2153518.qx3zgy7
1 user_input = input()
2 hourly_temperature = user_input.split()
1 test
passed
3
4 ' Your solution goes here ''
All tests
passed
Transcribed Image Text:44614.2153518.qx3zgy7 1 user_input = input() 2 hourly_temperature = user_input.split() 1 test passed 3 4 ' Your solution goes here '' All tests passed
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole