Created
June 21, 2020 12:20
-
-
Save Svastikkka/fd6b2634727d88fccdf2c3bc59d4e998 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Read input as sepcified in the question | |
| # Print output as specified in the question | |
| ## Note : For printing multiple values in one line, put them inside print separated by space. | |
| ## You can follow this syntax for printing values of two variables val1 and val2 separaetd by space - | |
| ## print(val1, " ", val2) | |
| s=int(input()) | |
| e=int(input()) | |
| w=int(input()) | |
| while True: | |
| c=0 | |
| if s<=e: | |
| c=(s-32)*5/9 | |
| print(s,int(c)) | |
| s = s + w | |
| else:break |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fahrenheit to Celsius