Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

do it with python 1-28 Execise 4 Determine the output displayed 1 num = 4 if num = 9 print(Less than ten. elif num 4:

do it with python 1-28
image text in transcribed
image text in transcribed
image text in transcribed
Execise 4 Determine the output displayed 1 num = 4 if num = 9 print("Less than ten. elif num 4: print("Equal to four." 2 apa 3.49 result agpa 3.5: result = "Honors print/result "student") 3 print'a+b'= 100: print("Your change contains", change // 1001 "dollars.") else: print("Your change contains no dollars." 7 a 2 b3 C7 (ab) 2) and (( a3) or (a 10: print("a") if x > 20: print("aaa") if x > 30: print("aaaa") else: print("a") else: print("aa") 16x = 'Hello y = 'World' z =1 var1 = 'Good Morning' var2 = "%s %s %d % (x, y, z) var3 => 0 [y.format (x, y, z) var4 = f'{x}{y} {zy print(var1 = ', var 1) print('var2 = ', var2) print('var3 = ', var3) print(var4 = ', var4) 17 print('Score = {1}, averate = {0}, std = {2}) 18 print("Merry X'Mas") 19 print('Merry x\'mas") 20 print("'Merry xl'mas") 21 print("Merry Xi'mas ) 22 var_jane="hello var_kate=12 var_pete =23.1 print(fa is (var_jane). fb is {var_kate). fc is (var_pete)? 23 var1 = 'hello var2 = wold' print(f{vart){var2y) 24x = input(input a string :) y = input(input another number :) print(x+y) 26x = 'Good Morning!!! print(h'in x) print('n' in x) print('N'in x) 27* = 5 x + 2 print(x) X-3 print(x) x2 print(x) x=2 print(x) 28 # print integer and float value print("Int: % 2d, Float: % 5.21 %(1.005.3333)) #print integer value print("Total students : %3d, Boys :%2d*%{240. 120)) # print octal value print("% 7.30% (25)) # print exponential value print("% 10.3E% (356.08977))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

Problem: Evaluate the integral: I = 1- 1 dx 9

Answered: 1 week ago

Question

Describe the Indian constitution and political system.

Answered: 1 week ago

Question

Explain in detail the developing and developed economy of India

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = X 52+7 - 1)(x+2) dx

Answered: 1 week ago

Question

What is gravity?

Answered: 1 week ago

Question

=+5 Does this case provide an example of the future for IHRM?

Answered: 1 week ago

Question

=+4 How did it affect HR?

Answered: 1 week ago