repl.it
@AzureScripts/

Coding Tycoon

Python

No description

fork
loading
Files
  • main.py
  • to do list.txt
main.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
import random, math, time, replit
from colorama import *

print(Fore.GREEN + """
01000011 01101111 01100100 01101001 01101110 01100111 00001101 00001010
   ____          _ _               _____                            
  / ___|___   __| (_)_ __   __ _  |_   _|   _  ___ ___   ___  _ __  
 | |   / _ \ / _` | | '_ \ / _` |   | || | | |/ __/ _ \ / _ \| '_ \ 
 | |__| (_) | (_| | | | | | (_| |   | || |_| | (_| (_) | (_) | | | |
  \____\___/ \__,_|_|_| |_|\__, |   |_| \__, |\___\___/ \___/|_| |_|
                           |___/        |___/      

        01010100 01111001 01100011 01101111 01101111 01101110
""" + Fore.RESET)

# CHOOSING YOUR JOB!
print("Welcome to Coding Tycoon! Where you can be the developer you wish to be!")
print("To begin, please choose your name & starting job!")
name = input("Name: ")
print("Now choose your job!")
time.sleep(0.5)
print("1. Web Developer")
time.sleep(0.5)
print("2. Game Developer")
time.sleep(0.5)
print("3. Software Developer")
time.sleep(0.5)
choice = input(">> ")

# VARIABLES
money = 5000
start_jobs = ["Web Developer", "Game Developer", "Software Developer"]
current_job = ""
current_ide = "Notepad"
upgrade_ide_price = 500

# Computer Variables 
monitors = 1
CPU = 1
graphics_card = 1
cooling = 1

monitor_price = 250
cpu_price = 500
graphics_card_price = 500
cooling_price = 100

# WEB DEVELOPER LANGUAGES

html_price = 500
javascript_price = 500
css_price = 500
php_price = 500

# GAME DEVELOPER LANGUAGES

java_price = 600
cpp_price = 600
cs_price = 600
pygame_price = 600

# SOFTWARE DEVELOPER LANGUAGES

python_price = 700
ruby_price = 700
c_price = 700
perl_price = 700

# LANGUAGE LEARN LEVELS (How well you know the language)

# Web Developer
html_learn_level = 0
javascript_learn_level = 0
css_learn_level = 0
php_learn_level = 0

# Game Developer
java_learn_level = 0
cpp_learn_level = 0
cs_learn_level = 0
pygame_learn_level = 0

# Software Developer
python_learn_level = 0
ruby_learn_level = 0
c_learn_level = 0
perl_learn_level = 0

if choice == "1":
    print("You have chosen to be a Web Developer!")
    current_job = "Web Developer"
    time.sleep(2)

if choice == "2":
    print("You have decided to be a Game Developer")
    current_job = "Game Developer"
    time.sleep(2)
    
if choice == "3":
    print("You have chosen to be a Software Developer")
    current_job = "Software Developer"
    time.sleep(2)

if choice >= "4":
    random_job = random.choice(start_jobs)
    current_job = random_job
    print("Since you entered a different choice, I chose one for you!")
    print("Your job is now: " + current_job)
    time.sleep(2)

# GET TO WORK MENU

def GetToWork():
    if current_job == "Web Developer":
        print("You decided to be a web developer! Therefore, these are your options.")
    
    if current_job == "Game Developer":
        print("You have decided to be a game developer! Therefore, these are your options.")

    if current_job == "Software Developer":
        print("You have decided to be a software developer! Therefore, these are your options.")
    


# THE FIRST MENU (Upgrades)
def Menu():
    replit.clear()
    # Globalling Web Developer Prices
    global money, current_job, current_ide, html_price, javascript_price, css_price, php_price

    # Globalling Game Developer Prices
    global java_price, cpp_price, cs_price, pygame_price

    # Globalling Software Developer Prices
    global python_price, ruby_price, c_price, perl_price

    # Web Developer Learn levels
    global html_learn_level, javascript_learn_level, css_learn_level, php_learn_level

    # Game Developer Learn levels
    global java_learn_level, cpp_learn_level, cs_learn_level, pygame_learn_level

    # Software Developer Learn level
    global python_learn_level, ruby_learn_level, c_learn_level, perl_learn_level

    # Globallising computer stuff
    global monitors, monitor_price, CPU, cpu_price, graphics_card, graphics_card_price, cooling, cooling_price, upgrade_ide_price

    global current_ide, upgrade_ide_price

    print("Statistics:")

    # Printing Statistics for specific jobs
    if current_job == "Web Developer":
        print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
        print("Current IDE: " + current_ide)
        print("")
        print("HTML Level: " + str(html_learn_level))
        print("Javascript Level: " + str(javascript_learn_level))
        print("CSS Level: " + str(css_learn_level))
        print("PHP Level: " + str(php_learn_level))
        print("")
    
    if current_job == "Game Developer":
        print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
        print("Current IDE: " + current_ide)
        print("")
        print("Java Level: " + str(java_learn_level))
        print("C++ Level: " + str(cpp_learn_level))
        print("C# Level: " + str(cs_learn_level))
        print("Pygame Level: " + str(pygame_learn_level))
        print("")
        
    if current_job == "Software Developer":
        print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
        print("Current IDE: " + current_ide)
        print("")
        print("Python Level: " + str(python_learn_level))
        print("Ruby Level: " + str(ruby_learn_level))
        print("C Level: " + str(c_learn_level))
        print("Perl Level: " + str(perl_learn_level))
        print("")

    # Main Menu
    print("Please choose from the list of what you'd like to do:")
    print("1. Learn new language")
    print("2. Upgrade your PC")
    print("3. Upgrade IDE")
    print("4. Get to work!")
    choice = input(">> ")
    
    # LEARN NEW LANGUAGE

    if choice == "1":
        # Learning Web Developer language
        if current_job == "Web Developer":
            print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
            print("")
            print("What language would you like to learn?")
            print("1. HTML " + "(" + Fore.GREEN + "$" + str(php_price) + Fore.RESET + ")")
            print("2. Javascript " + "(" + Fore.GREEN + "$" + str(php_price) + Fore.RESET + ")")
            print("3. CSS " + "(" + Fore.GREEN + "$" + str(php_price) + Fore.RESET + ")")
            print("4. PHP " + "(" + Fore.GREEN + "$" + str(php_price) + Fore.RESET + ")")
            print("5. Quit the menu")
            choice = input(">> ")

            # LEARN HTML
            if choice == "1":

                if money < html_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if html_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn HTML for " + Fore.GREEN + "$" + str(html_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - html_price
                    html_learn_level = html_learn_level + 1
                    print("Your learn level for HTML is now: " + str(html_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()

            # LEARN JAVASCRIPT
            if choice == "2":

                if money < javascript_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if javascript_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn Javascript for " + Fore.GREEN + "$" + str(javascript_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - javascript_price
                    javascript_learn_level = javascript_learn_level + 1
                    print("Your learn level for javascript is now: " + str(javascript_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()

            # LEARN CSS
            if choice == "3":

                if money < css_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if css_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn CSS for " + Fore.GREEN + "$" + str(css_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - css_price
                    css_learn_level = css_learn_level + 1
                    print("Your learn level for CSS is now: " + str(css_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            # LEARN PHP
            if choice == "4":

                if money < php_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if php_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn PHP for " + Fore.GREEN + "$" + str(php_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - php_price
                    php_learn_level = php_learn_level + 1
                    print("Your learn level for PHP is now: " + str(php_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()

            if choice == "5":
                Menu()
        
        # Learning Game Developer language
        if current_job == "Game Developer":
            replit.clear()
            print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
            print("")
            print("What language would you like to learn?")
            print("1. Java ")
            print("2. C++ ")
            print("3. C# ")
            print("4. Pygame")
            print("5. Quit the Menu")
            choice = input(">> ")

            if choice == "1":

                if money < java_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if java_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you would like to learn Java for " + Fore.GREEN + "$" + str(java_price) + Fore.RESET + "?" )
                yn = input("y/n: ")
                
                if yn == "y":
                    money = money - java_price
                    java_learn_level = java_learn_level + 1
                    print("Your learn level for Java is now: " + str(java_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "2":

                if money < cpp_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if cpp_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you would like to learn C++ for " + Fore.GREEN + "$" + str(cpp_price) + Fore.RESET + "?" )
                yn = input("y/n: ")
                
                if yn == "y":
                    money = money - cpp_price
                    cpp_learn_level = cpp_learn_level + 1
                    print("Your learn level for C++ is now: " + str(cpp_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()

            if choice == "3":

                if money < cs_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if cs_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you would like to learn C# for " + Fore.GREEN + "$" + str(cs_price) + Fore.RESET + "?" )
                yn = input("y/n: ")
                
                if yn == "y":
                    money = money - cs_price
                    cs_learn_level = cs_learn_level + 1
                    print("Your learn level for C# is now: " + str(cs_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "4":

                if money < pygame_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if pygame_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you would like to learn Pygame for " + Fore.GREEN + "$" + str(pygame_price) + Fore.RESET + "?" )
                yn = input("y/n: ")
                
                if yn == "y":
                    money = money - pygame_price
                    pygame_learn_level = pygame_learn_level + 1
                    print("Your learn level for Pygame is now: " + str(pygame_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "5":
                Menu()
        
        # Learning Software Developer language
        if current_job == "Software Developer":
            replit.clear()
            print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
            print("")
            print("What language would you like to learn today?")
            print("1. Python " + "(" + Fore.GREEN + "$" + str(python_price) + Fore.RESET + ")")
            print("2. Ruby " + "(" + Fore.GREEN + "$" + str(ruby_price) + Fore.RESET + ")")
            print("3. C " + "(" + Fore.GREEN + "$" + str(c_price) + Fore.RESET + ")")
            print("4. Perl " + "(" + Fore.GREEN + "$" + str(perl_price) + Fore.RESET + ")")
            print("5. Quit the menu")
            choice = input(">> ")

            # Learn Python
            if choice == "1":

                if money < python_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if python_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn Python for " + Fore.GREEN + "$" + str(python_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - python_price
                    python_learn_level = python_learn_level + 1
                    print("Your Python learn level is now: " + str(python_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()

            if choice == "2":

                if money < ruby_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if ruby_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn Ruby for " + Fore.GREEN + "$" + str(ruby_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - ruby_price
                    ruby_learn_level = ruby_learn_level + 1
                    print("Your Ruby learn level is now: " + str(ruby_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "3":

                if money < c_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if c_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn C for " + Fore.GREEN + "$" + str(c_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - c_price
                    c_learn_level = c_learn_level + 1
                    print("Your C learn level is now: " + str(c_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "4":

                if money < perl_price:
                    print("You do not have enough for this!")
                    time.sleep(2)
                    Menu()

                if perl_learn_level == 5:
                    print("You cannot upgrade this anymore!")
                    time.sleep(1)
                    Menu()

                print("Are you sure you'd like to learn Perl for " + Fore.GREEN + "$" + str(perl_price) + Fore.RESET + "?")
                yn = input("y/n: ")

                if yn == "y":
                    money = money - perl_price
                    perl_learn_level = perl_learn_level + 1
                    print("Your Perl learn level is now: " + str(perl_learn_level))
                    time.sleep(2)
                    Menu()
                
                if yn == "n":
                    Menu()
            
            if choice == "5":
                Menu()
    
    # Upgrade your PC
    if choice == "2":
        print("Here you can update your PC hardware to improve quality!")
        print("Choose what you would like to upgrade!")
        print("1. Monitors (" + Fore.GREEN + "$" + str(monitor_price) + Fore.RESET + ")")
        print("2. CPU (" + Fore.GREEN + "$" + str(cpu_price) + Fore.RESET + ")")
        print("3. Graphics Card (" + Fore.GREEN + "$" + str(graphics_card_price) + Fore.RESET + ")")
        print("4. Cooling (" + Fore.GREEN + "$" + str(cooling_price) + Fore.RESET + ")")
        choice = input(">> ")

        # Buy monitor

        if choice == "1":

            if money < monitor_price:
                print("You do not have enough for this!")
                time.sleep(2)
                Menu()

            if monitors == 3:
                print("You cannot upgrade this any more!")
                time.sleep(2)
                Menu()

            print("Are you sure you'd like to buy a monitor?")
            yn = input("y/m: ")

            if yn == "y":
                money = money - monitor_price
                monitors = monitors + 1
                print("You have successfully brought a monitor for " + Fore.GREEN + "$" + str(monitor_price) + Fore.RESET)
                monitor_price = monitor_price + 250
                time.sleep(2)
                Menu()

            if yn == "n":
                Menu()
                

        # Buy CPU 

        if choice == "2":

            if money < cpu_price:
                print("You do not have enough for this!")
                time.sleep(2)
                Menu()

            if cpu == 5:
                print("You cannot upgrade this anymore!")
                time.sleep(2)
                Menu()
        
            print("Are you sure you'd like to buy a new CPU for " + Fore.GREEN + "$" + str(cpu_price) + Fore.RESET + "?")
            yn = input("y/n: ")

            if yn == "y":
                money = money - cpu_price
                CPU = CPU + 1
                print("You have successfully brought a new CPU for " + Fore.GREEN + "$" + str(cpu_price) + Fore.RESET)
                cpu_price = cpu_price + 250
                time.sleep(2)
                Menu()
            
            if yn == "n":
                Menu()

        # Buy Graphics Card     

        if choice == "3":

            if money < graphics_card_price:
                print("You do not have enough money for this")
                time.sleep(2)
                Menu()

            if graphics_card == 5:
                print("You can not upgrade this anymore!")
                time.sleep(2)
                Menu()

            print("Are you sure you'd like to buy a graphics card for " + Fore.GREEN + "$" + str(graphics_card_price) + Fore.RESET + "?")
            yn = input("y/n: ")

            if yn == "y":
                money = money - graphics_card_price
                graphics_card = graphics_card + 1
                print("You have successfully brought a new graphics card for " + Fore.GREEN + "$" + str(graphics_card_price) + Fore.RESET)
                graphics_card_price = graphics_card_price + 250
                time.sleep(2)
                Menu()

            if yn == "n":
                Menu()


        # Buy Cooling  
        
        if choice == "4":
            
            if money < cooling_price:
                print("You do not have enough for this!")
                time.sleep(2)
                Menu()
            
            if cooling == 5:
                print("You can not upgrade this anymore!")
                time.sleep(2)
                Menu()

            print("Are you sure you'd like to buy more cooling for " + Fore.GREEN + "$" + str(cooling_price) + Fore.RESET + "?")
            yn = input("y/n: ")

            if yn == "y":
                money = money - cpu_price
                cooling = cooling + 1
                print("You have successfully brought more cooling for " + Fore.GREEN + "$" + str(cooling_price) + Fore.RESET)
                cooling_price = cooling_price + 250
                time.sleep(2)
                Menu() 

            if yn == "n":
                Menu()
        
    # Upgrade IDE
    if choice == "3":
        ide_list = ["Notepad++", "VIM", "Emacs", "VSCode", "Repl.it"]

        if current_ide == "Notepad":
            print("Are you sure you'd like to upgrade to " + ide_list[0] + " for " + Fore.GREEN + "$" + str(upgrade_ide_price) + Fore.RESET + "?")

            yn = input("y/n: ")
            
            if yn == "y":
                money = money - upgrade_ide_price
                upgrade_ide_price = upgrade_ide_price + 500
                current_ide = ide_list[0]

                print("Your IDE is now " + current_ide)
                time.sleep(3)
                Menu()
            
            if yn == "n":
                Menu()
        
        if current_ide == "Notepad++":
            print("Are you sure you'd like to upgrade to " + ide_list[1] + " for " + Fore.GREEN + "$" + str(upgrade_ide_price) + Fore.RESET + "?")

            yn = input("y/n: ")
            
            if yn == "y":
                money = money - upgrade_ide_price
                upgrade_ide_price = upgrade_ide_price + 500
                current_ide = ide_list[1]

                print("Your IDE is now " + current_ide)
                time.sleep(3)
                Menu()
            
            if yn == "n":
                Menu()

        if current_ide == "VIM":
            print("Are you sure you'd like to upgrade to " + ide_list[2] + " for " + Fore.GREEN + "$" + str(upgrade_ide_price) + Fore.RESET + "?")

            yn = input("y/n: ")
            
            if yn == "y":
                money = money - upgrade_ide_price
                upgrade_ide_price = upgrade_ide_price + 500
                current_ide = ide_list[2]

                print("Your IDE is now " + current_ide)
                time.sleep(3)
                Menu()
            
            if yn == "n":
                Menu()
        
        if current_ide == "Emacs":
            print("Are you sure you'd like to upgrade to " + ide_list[3] + " for " + Fore.GREEN + "$" + str(upgrade_ide_price) + Fore.RESET + "?")

            yn = input("y/n: ")
            
            if yn == "y":
                money = money - upgrade_ide_price
                upgrade_ide_price = upgrade_ide_price + 500
                current_ide = ide_list[3]

                print("Your IDE is now " + current_ide)
                time.sleep(3)
                Menu()
            
            if yn == "n":
                Menu()
        
        if current_ide == "VSCode":
            print("Are you sure you'd like to upgrade to " + ide_list[4] + " for " + Fore.GREEN + "$" + str(upgrade_ide_price) + Fore.RESET + "?")

            yn = input("y/n: ")
            
            if yn == "y":
                money = money - upgrade_ide_price
                upgrade_ide_price = upgrade_ide_price + 500
                current_ide = ide_list[4]

                print("Your IDE is now " + current_ide)
                time.sleep(3)
                Menu()
            
            if yn == "n":
                Menu()
        
        if current_ide == "Repl.it":
            print("You cannot upgrade to a higher IDE!")
            print("You already got the best one!")
            time.sleep(2)
            Menu()
    
    # GET TO WORK
    if choice == "4":
      if current_job == "Web Developer":
        print("Welcome to work!")
        print("")
        print("Money: " + Fore.GREEN + "$" + str(money) + Fore.RESET)
        print("Current IDE: " + current_ide)
        print("")
        print("HTML Level: " + str(html_learn_level))
        print("Javascript Level: " + str(javascript_learn_level))
        print("CSS Level: " + str(css_learn_level))
        print("PHP Level: " + str(php_learn_level))
        print("")
        print("What do you do?")
        print("1. Make a Script")
        print("2. Work on Project (More money, takes longer)")
        print("3. Advertise your service")
        choice = input(">> ")

        # Make a script
        if choice == "1":
          time_to_wait = 60
          if current_ide == "Notepad":
            time_to_wait = 60

          if current_ide == "Notepad++":
            time_to_wait = 50

          if current_ide == "VIM":
            time_to_wait = 40

          if current_ide == "Emacs":
            time_to_wait = 30

          if current_ide == "VSCode":
            time_to_wait = 20

          if current_ide == "Repl.it":
            time_to_wait = 10
          
          print("Making Script...")
          time.sleep(time_to_wait)
          cash_earned = random.randint(50, 100)
          money = money + cash_earned
          print("Script has been made, and you earned: " + Fore.GREEN + "$" + str(cash_earned) + Fore.RESET)
          time.sleep(2)
Menu()
?