-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathClean_Python_Outputs.py
56 lines (45 loc) · 1005 Bytes
/
Clean_Python_Outputs.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
language1 = "C"
language2 = "C++"
language3 = "C#"
language4 = "Java"
language5 = "JavaScript"
language6 = "Python"
language7 = "Swift"
print(f'{language1} : 1972')
print(f'{language2} : 1983')
print(f'{language3} : 2000')
print(f'{language4} : 1995')
print(f'{language5} : 1997')
print(f'{language6} : 1991')
print(f'{language7} : 2005')
# Answer: -->>
C : 1972
C++ : 1983
C# : 2000
Java : 1995
JavaScript : 1997
Python : 1991
Swift : 2005
#--------------------------------------------------
language1 = "C"
language2 = "C++"
language3 = "C#"
language4 = "Java"
language5 = "JavaScript"
language6 = "Python"
language7 = "Swift"
print(f'{language1:10} : 1972')
print(f'{language2:10} : 1983')
print(f'{language3:10} : 2000')
print(f'{language4:10} : 1995')
print(f'{language5:10} : 1997')
print(f'{language6:10} : 1991')
print(f'{language7:10} : 2005')
# Answer: -->>
C : 1972
C++ : 1983
C# : 2000
Java : 1995
JavaScript : 1997
Python : 1991
Swift : 2005