Answer:
primul_copil = int(input("Introduceți vârsta primului copil: "))
aldoilea_copil = int(input("Introduceți vârsta celui de-al doilea copil: "))
def copilmai_mare(varsta1, varsta2):
if varsta1 > varsta2:
diferenta = varsta1 - varsta2
print("copilul mai mare este varsta1 cu diferența de vârstă de: ", diferenta )
else:
diferenta = varsta2 - varsta1
print("copilul mai mare este varsta2 cu diferența de vârstă de: ", diferenta )
copilmai_mare(primul_copil, aldoilea_copil)
Explanation:
Programul python de mai sus definește o funcție "copilmai_mare" care ia două argumente "varsta1" și "varsta2". Diferența dintre vârstele copiilor este comparată, iar cel mai mare copil și diferența sunt tipărite pe ecran.
What you need to do here is increment. Begin by asking the user for the two inputs like you were ( one smaller than the other ) then you would need a loop that kept creating new integers until the desired maxNum is reached. I can write this in Java but not python. in java you would need a 'while loop' and the incrementation '++'. So int1 = 3 and int2 = 7
While (int1 < int2; int++) {
intAverage = (('integers')/integers.length();
}
an OS systems security is at a high risk to hackers so the company can update the OS to improve security
Answer:
look up this question on here it comes up but do it one-by-one
Explanation:
I suggest learning and studying technology and the way a computer or a phone works and how it receives info. That way, you will be able to give the device something it won't handle...... I think....