kellyc1458
kellyc1458 kellyc1458
  • 18-08-2021
  • Computers and Technology
contestada

PLS HELP ME WITH MY PYTHON HW

PLS HELP ME WITH MY PYTHON HW class=

Respuesta :

chenn0337 chenn0337
  • 28-08-2021

Answer:

name=input('What is your name?')

age=input('What is your age?')

school=input('What is your school?')

print('Hi '+ name +', you are '+ age +', and you go to '+school+'.')

age=int(input('What is your age?'))

if age > 10:

 print('You are a teenager')

for x in range(10):

 print(name)

country='United States or America'

print(country[17:24])

a_list = [0, 2, 4, 8]

maximum = max(a_list)

print(maximum)

minimum = min(a_list)

print(minimum)

numbers = [1, 3, 4, 2]

numbers.sort()  

print(numbers)

Answer Link

Otras preguntas

x^3+13x^2+32x+20 please help me factorizing above equation
Max is 24 years older than his son, Liam. In two years, Liam will be half as old as Max. How old is Liam now?
The sum of two numbers is 92. One fifth of the first number added to one half of the second number is 34. Find the two numbers.
Max is 24 years older than his son, Liam. In two years, Liam will be half as old as Max. How old is Liam now?
A solution containing 30% insecticide is to be mixed with a solution containing 50% insecticide to make 200 L of a solutions containing 42% insecticide. How muc
what is the PE of a 10 kg box that drops 10 meters?
Find all zeros (real and complex) for the function f(x)=x^3-5x^2+9x-5
Who invented the prism?
what is the PE of a 10 kg box that drops 10 meters?
How many subsets does the set {1, 2, 3} have?