Lab 3
Lab 3
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
#=================================================================
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
# print(result)
#
#
# print("========== program (b) ===========")
# x = eval(input("Enter the value (X) : "))
#
# result = 2 ** (x + 1)
# print(result)
#
# print("========== program (c) ===========")
# x = eval(input("Enter the value (X) : "))
#
# result = x ** (-2 * x)
# print(result)
#
# print("=============================================")
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
#
# def convert_bytes_to_megabytes(bytes):
# megabytes = bytes / (1024 * 1024)
# return megabytes
#
# def convert_bytes_to_gigabytes(bytes):
# gigabytes = bytes / (1024 * 1024 * 1024)
# return gigabytes
#
# def convert_bytes_to_terabytes(bytes):
# terabytes = bytes / (1024 * 1024 * 1024 * 1024)
# return terabytes
#
# bits = int(input(" Enter the number of bits : "))
#
# bytes = convert_bits_to_bytes(bits)
# megabytes = convert_bytes_to_megabytes(bytes)
# gigabytes = convert_bytes_to_gigabytes(bytes)
# terabytes = convert_bytes_to_terabytes(bytes)
#
# print("The bits = ", bits)
# print("The byte = ", bytes)
# print("The megabytes = ", megabytes)
# print("The gigabytes = ", gigabytes)
# print("The terabytes = ", terabytes)
#
# print("=============================================")
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب
================= Lab 3 ================
#
# value1 = input("Enter the first value : ")
# value2 = input("Enter the second value : ")
#
# print("Original values : ")
# print("Value 1 = ", value1)
# print("Value 2 = ", value2)
#
# value1, value2 = swap_values(value1, value2)
#
# print("Swapped values:")
# print("Value 1 =", value1)
# print("Value 2 =", value2)
#
# print("=============================================")
الم
رقنة سلمان و سدى الورد/ هندسيان ضياء احمد علي الش فري/ الطالب