Meter to kilometers
Write a program that receives distance to meter and converts to kilometers and displays on output
Tips: Each km = 1000 m
Write a program that receives distance to meter and converts to kilometers and displays on output
Tips: Each km = 1000 m
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
x = float(input("distance by m :")) print("distance by km :" , x/1000)
meter = float(input("a: ")) kilometers = float(input("b: ")) print(meter/kilometers)
m = float(input("masafat ra ba vahed metr vared konid: ")) k = 1000 while m >= 0 : print('masafat mored nazar shoma ba vahed kilo metr barabar ast ba: ', m / k) m = float(input("masafat ra ba vahed metr vared konid: "))
m=float (input('m:'))
print('km =',m/1000)
distance = float (input ('Write the distance in kilometers: '))
area = distance * 1000
print (area)
Transform meter to kilometers:distance = float (input ('Write the distance in meters: '))
area = distance / 1000
print (area)
meter = float(input('meter:'))
km = (meter * .001)
print(km)
metr=float(input("metr")) k=metr/1000 print("km":,k)
Submitting answers is currently unavailable.
Write a program that receives the square side length from the input and calculates its area of square area = a side of its own = a side of a power 2.
Write a program that prints each student's name according to the list below, and as much as his / her name, the star of his name prints the question. Try to use the nested rings Amir 5hooshang 7rez ...
Write a program that receives 2 users and calculates the Fibonacci series (between those two) and prints in the output
Write a function to get a string and return the length of the string Tip: In this exercise you should not use ready -made functions like Len in Python
CSS code to select all the following elements at once and change their background color to yellow<div class="yellow" id="box"></div><div class="yellow"></div><div class="yellow mybox"></div>
CSS Code Write to select all spans that are directly inside DIV and change the color of their text to red
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.