Fixed an infinite empty print bug.
This commit is contained in:
		
							parent
							
								
									dbe283a3d6
								
							
						
					
					
						commit
						e6ba434796
					
				
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@ -93,7 +93,7 @@ def input_handler(first_register: bu.BasicRegister, second_register: bu.BasicReg
 | 
			
		||||
 | 
			
		||||
    while True:
 | 
			
		||||
        prompt_text: str = get_prompt_text(operation, method).format(first_register, second_register, operation, method)
 | 
			
		||||
        print()
 | 
			
		||||
        # print()
 | 
			
		||||
        if operation == "":
 | 
			
		||||
            raw_user_input = input("Choose the operation:\n"
 | 
			
		||||
                                   "[a]ddition, [s]ubtraction, [m]ultiplication, [d]ivision, [q]uit\n" +
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user