-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.py
64 lines (46 loc) · 879 Bytes
/
temp.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 8 23:36:58 2022
@author: raj
"""
"""
This file contains NPTEL Python Week 2 Normal Assignment
exercise problems.
@author: raj
"""
# print('The Joy of Computing')
# a = "round."
# b = "lot of"
# c = "dust."
# print('Earth is')
# print(a)
# print("Moon has",b,c)
# for i in range(11):
# print(i)
# b = 0
# for i in range(10):
# b = b + i
# print(b)
# number = input("Entera number")
# new_number = number * 2
# print(new_number)
# number = 20/10 * 0
# if (number < 0):
# print("Number is less than 0")
# if (number > 0):
# print("Number is greater than 0")
# if (number = 0):
# print("Number is 0")
# a = 10
# for i in range(10):
# a = i
# print(a)
# a = 1
# for i in range(10):
# a = a + (i + 1)
# print(a)
# a = 0
# while (a < 10):
# a = a + 2
# print(a)