Chrome File Edit View History Bookmarks Profiles Tab Window Help LTI Launch PY4E - Python for Everybody x ← → C M Gmail ► YouTube C X X run. Translate Check Code https://blackboard.blueridgectc.edu/ultra/courses/_20760_1/outline/lti/launchFrame?toolHref=https:~2F-2Fbl News Maps 2.3 Write a program to prompt the user for to compute gross pay. Use 35 hours and a program (the pay should be 96.25). You sho float() to convert the string to a number. Do not worry about error checking or bad user data. Reset Code i 5 pay = 6 print (pay) Answered: Change this quest x 3 hrs = input ("Enter Hours:") 4 rate input ("Enter Rate") (hrs * rate) 1 # This first line is provided for you 2 An embedded page at www.py4e.com says TypeError: can't multiply sequence by non-int of type 'str' on line 5 can't multiply sequenc Please correct your code and re- Desired Output Pay: 96.25 ОК H 69% QThu Jan 18 7:44 PM "Microsoft Update Assistant" Notificati... Notifications may include alerts, sounds, and icon badges. My Information text ⠀ All Bookmarks Ⓒ

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter6: Managing Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 2.12CP
icon
Related questions
Question

python:

I keep getting this error and i am not sure what it means or how to correct it?

"

can't multiply sequence by non-int of type 'str' 

"

VE
M Gmail
||II|
IE
[11]
•
Chrome File Edit View History Bookmarks Profiles Tab
PY4E - Python for Everybody X
LTI Launch
Co
×
YouTube
×
run.
Translate G= News
Check Code
https://blackboard.blueridgectc.edu/ultra/courses/_20760_1/outline/lti/launchFrame?toolHref=https:~2F~2Fbl
Maps
2.3 Write a program to prompt the user for
to compute gross pay. Use 35 hours and
program (the pay should be 96.25). You sho
float() to convert the string to a number. Do not worry about error checking or
bad user data.
5
5 pay = (hrs * rate)
6 print (pay)
Window Help
Answered: Change this questi X G can't multiply sequenc
An embedded page at www.py4e.com says
TypeError: can't multiply sequence by non-int of type 'str' on line
Reset Code Ⓡ Please correct your code and re-
1 # This first line is provided for you
2
3 hrs = input ("Enter Hours:")
4 rate = input ("Enter Rate")
O
Desired Output
Pay: 96.25
OK
69%
My Information
"Microsoft Update Assistant" Notificati...
Notifications may include alerts, sounds,
and icon badges.
Thu Jan 18 7:44 PM
text
All Bookmarks
(.)
⠀
?
Transcribed Image Text:VE M Gmail ||II| IE [11] • Chrome File Edit View History Bookmarks Profiles Tab PY4E - Python for Everybody X LTI Launch Co × YouTube × run. Translate G= News Check Code https://blackboard.blueridgectc.edu/ultra/courses/_20760_1/outline/lti/launchFrame?toolHref=https:~2F~2Fbl Maps 2.3 Write a program to prompt the user for to compute gross pay. Use 35 hours and program (the pay should be 96.25). You sho float() to convert the string to a number. Do not worry about error checking or bad user data. 5 5 pay = (hrs * rate) 6 print (pay) Window Help Answered: Change this questi X G can't multiply sequenc An embedded page at www.py4e.com says TypeError: can't multiply sequence by non-int of type 'str' on line Reset Code Ⓡ Please correct your code and re- 1 # This first line is provided for you 2 3 hrs = input ("Enter Hours:") 4 rate = input ("Enter Rate") O Desired Output Pay: 96.25 OK 69% My Information "Microsoft Update Assistant" Notificati... Notifications may include alerts, sounds, and icon badges. Thu Jan 18 7:44 PM text All Bookmarks (.) ⠀ ?
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Hyperlinks
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage