i cant seem to get this one to work IT 140: Introduction to Scripting v3 home >1.23: LAB: Warm up: Variables, input, and type conversionE zyBooks catalog? Help/FAQ 8 Matthew Eddy(3) Extend to...


i cant seem to get this one to work


Home<br>1-2 Discussion: Introduction - | X<br>zy Section 1.23 - IT 140: Introduct X<br>C This ZyLab Activity Prepares A X<br>Answered: Python The followin X<br>learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/23<br>Update :<br>M<br>Apps M Gmail<br>SNHU<br>Mail - Eddy, Matth...<br>zy zyBooks My library b My Questions | ba.<br>E Reading List<br>= zyBooks<br>My library > IT 140: Introduction to Scripting v3 home ><br>1.23: LAB: Warm up: Variables, input, and type conversion<br>E zyBooks catalog<br>? Help/FAQ 8 Matthew Eddy<br>(3) Extend to convert the integer to a character by using the 'chr()' function, and output that character. (Submit for 2 points, so 5 points<br>total).<br>Enter integer (32<br>126):<br>99<br>Enter float:<br>3.77<br>Enter character:<br>Enter string:<br>Howdy<br>99 3.77 z Howdy<br>Howdy z<br>3.77<br>99 converted to a character is c<br>247772.1999362.qx3zqy7<br>LAB<br>1.23.1: LAB: Warm up: Variables, input, and type conversion<br>0/5<br>АCTIVITY<br>main.py<br>Load default template...<br>1 user_int<br>int(input('Enter integer (32 - 126):\n'))<br>2<br>3 # FIXME (1): Finish reading other items into variables, then output the four values on a single line separated by a space<br>4 user_float=float(input('enter float:\n'))<br>5 user_char=input('enter character:\n')<br>6 user_string=input('enter string:\n')<br>7 print(user_string,'',user_char,'',user_float,'',user_int)<br>8<br>9 # FIXME (2): Output the four values in reverse<br>10 print(user_int,'',user_float,'',user_char,'',user_string)<br>11<br>12 # FIXME (3): Convert the integer to a characer, and output that character<br>13 character=char(user_int)<br>14 print(user_int,

Extracted text: Home 1-2 Discussion: Introduction - | X zy Section 1.23 - IT 140: Introduct X C This ZyLab Activity Prepares A X Answered: Python The followin X learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/23 Update : M Apps M Gmail SNHU Mail - Eddy, Matth... zy zyBooks My library b My Questions | ba. E Reading List = zyBooks My library > IT 140: Introduction to Scripting v3 home > 1.23: LAB: Warm up: Variables, input, and type conversion E zyBooks catalog ? Help/FAQ 8 Matthew Eddy (3) Extend to convert the integer to a character by using the 'chr()' function, and output that character. (Submit for 2 points, so 5 points total). Enter integer (32 126): 99 Enter float: 3.77 Enter character: Enter string: Howdy 99 3.77 z Howdy Howdy z 3.77 99 converted to a character is c 247772.1999362.qx3zqy7 LAB 1.23.1: LAB: Warm up: Variables, input, and type conversion 0/5 АCTIVITY main.py Load default template... 1 user_int int(input('Enter integer (32 - 126):\n')) 2 3 # FIXME (1): Finish reading other items into variables, then output the four values on a single line separated by a space 4 user_float=float(input('enter float:\n')) 5 user_char=input('enter character:\n') 6 user_string=input('enter string:\n') 7 print(user_string,'',user_char,'',user_float,'',user_int) 8 9 # FIXME (2): Output the four values in reverse 10 print(user_int,'',user_float,'',user_char,'',user_string) 11 12 # FIXME (3): Convert the integer to a characer, and output that character 13 character=char(user_int) 14 print(user_int,"coverted to a character is",character) +
Home<br>1-2 Discussion: Introduction - | X<br>zy Section 1.23 - IT 140: Introduct X<br>C This ZyLab Activity Prepares A X<br>Answered: Python The followin X<br>learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/23<br>Update :<br>M<br>Apps M Gmail<br>SNHU<br>Mail - Eddy, Matth...<br>zy zyBooks My library b My Questions | ba.<br>E Reading List<br>= zyBooks<br>My library > IT 140: Introduction to Scripting v3 home ><br>1.23: LAB: Warm up: Variables, input, and type conversion<br>E zyBooks catalog<br>? Help/FAQ 8 Matthew Eddy<br>(1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then,<br>output those four values on a single line separated by a space. (Submit for 2 points).<br>Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on<br>the next line, but such values don't actually appear as output when the program runs.<br>Enter integer (32<br>126):<br>99<br>Enter float:<br>3.77<br>Enter character:<br>Enter string:<br>Howdy<br>99 3.77 z Howdy<br>(2) Extend to also output in reverse. (Submit for 1 point, so 3 points total).<br>Enter integer (32<br>126):<br>99<br>Enter float:<br>3.77<br>Enter character:<br>Enter string:<br>Howdy<br>99 3.77 z Howdy<br>Howdy z 3.77 99<br>(3) Extend to convert the integer to a character by using the 'chr()' function, and output that character. (Submit for 2 points, so 5 points<br>total).<br>+<br>

Extracted text: Home 1-2 Discussion: Introduction - | X zy Section 1.23 - IT 140: Introduct X C This ZyLab Activity Prepares A X Answered: Python The followin X learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/23 Update : M Apps M Gmail SNHU Mail - Eddy, Matth... zy zyBooks My library b My Questions | ba. E Reading List = zyBooks My library > IT 140: Introduction to Scripting v3 home > 1.23: LAB: Warm up: Variables, input, and type conversion E zyBooks catalog ? Help/FAQ 8 Matthew Eddy (1) Prompt the user to input an integer between 32 and 126, a float, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space. (Submit for 2 points). Note: This zyLab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs. Enter integer (32 126): 99 Enter float: 3.77 Enter character: Enter string: Howdy 99 3.77 z Howdy (2) Extend to also output in reverse. (Submit for 1 point, so 3 points total). Enter integer (32 126): 99 Enter float: 3.77 Enter character: Enter string: Howdy 99 3.77 z Howdy Howdy z 3.77 99 (3) Extend to convert the integer to a character by using the 'chr()' function, and output that character. (Submit for 2 points, so 5 points total). +
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here