IMG_4366

.jpeg

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

X1977

Subject

Computer Science

Date

Apr 3, 2024

Type

jpeg

Pages

1

Uploaded by r1s23

Report
B R RS T T PARTICIPATION £y < T Sy NS . i ACTIVITY 1.3.10: Converting user input to integers. 1} Type a statement that converts the string '15' to an integer and assigns the result to my_var. Answer my_var = int(15) 2 Input must be converted to an integer if using the inputn Show answer a calculation. 2} Complete the code so that new_var is equal to the entered number plus 5. Answer my var oi{input()) 5+ my_var new_var = 7~ To perform addition int() must be used fo change the input string to an integer. Show answer
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help